engine: util: Fix grammar typo
This commit is contained in:
@@ -353,7 +353,7 @@ func ResToParamValues(res engine.Res) (map[string]types.Value, error) {
|
|||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetUID returns the UID of an user. It supports an UID or an username. Caller
|
// GetUID returns the UID of a user. It supports a UID or a username. Caller
|
||||||
// should first check user is not empty. It will return an error if it can't
|
// should first check user is not empty. It will return an error if it can't
|
||||||
// lookup the UID or username.
|
// lookup the UID or username.
|
||||||
func GetUID(username string) (int, error) {
|
func GetUID(username string) (int, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user