Compare commits

...
1 Commits
Author SHA1 Message Date
alu 8284ffbc43 fix issue in username to string format
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 42s
2026-08-18 23:01:58 +00:00
+1 -1
View File
@@ -14,7 +14,7 @@ func (g Groupname) ToString() string {
// Converts input username object to string representation.
// Uses the format uid@realm.
func (u Username) ToString() string {
return fmt.Sprintf("%s-%s", u.UserID, u.Realm)
return fmt.Sprintf("%s@%s", u.UserID, u.Realm)
}
// Parses input groupname string to gid and realm.