diff --git a/controller/rbac/user.go b/controller/rbac/user.go index ce3e71f12680382b33d5a6283258a0d56d27d259..3163b27fb6fc000299209d83733954cb5263ca0c 100644 --- a/controller/rbac/user.go +++ b/controller/rbac/user.go @@ -89,7 +89,7 @@ func (u *User) MarshalJSON() ([]byte, error) { }) } -// MarshallBSON implments the MarshalBSON interface to store a user as BSON +// MarshalBSON implments the MarshalBSON interface to store a user as BSON func (u *User) MarshalBSON() ([]byte, error) { return bson.Marshal(&struct { UserID string `bson:"_id,omitempty"`