Commit 2e31bee1 authored by Steven's avatar Steven

fix: add missing period to comment per golangci-lint

parent 9121ddba
...@@ -75,7 +75,7 @@ func ExtractUserIDFromName(name string) (int32, error) { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment