resources: Fix user gid compare

This commit is contained in:
Jonathan Gold
2017-10-19 06:58:31 -04:00
parent 677cdea99d
commit c5a5004f9e

View File

@@ -271,7 +271,7 @@ func (obj *UserRes) Compare(r Res) bool {
return false return false
} }
if obj.GID != nil && res.GID != nil { if obj.GID != nil && res.GID != nil {
if *obj.GID != *res.UID { if *obj.GID != *res.GID {
return false return false
} }
} }