fix: add missing period to comment per golangci-lint
This commit is contained in:
parent
9121ddbad9
commit
2e31bee1de
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ func ExtractUserIDFromName(name string) (int32, error) {
|
||||||
|
|
||||||
// extractUserIdentifierFromName extracts the identifier (ID or username) from a user resource name.
|
// extractUserIdentifierFromName extracts the identifier (ID or username) from a user resource name.
|
||||||
// Supports: "users/101" or "users/steven"
|
// Supports: "users/101" or "users/steven"
|
||||||
// Returns the identifier string (e.g., "101" or "steven")
|
// Returns the identifier string (e.g., "101" or "steven").
|
||||||
func extractUserIdentifierFromName(name string) string {
|
func extractUserIdentifierFromName(name string) string {
|
||||||
tokens, err := GetNameParentTokens(name, UserNamePrefix)
|
tokens, err := GetNameParentTokens(name, UserNamePrefix)
|
||||||
if err != nil || len(tokens) == 0 {
|
if err != nil || len(tokens) == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue