Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
return err
}
if uID == "" {
return err
}
if uID == "" {
- emptyUserIDs = append(emptyUserIDs, u.UUID)
- log.Printf("Empty %s found in user %s - ignoring", cfg.UserID, u.UUID)
+ if u.UUID != cfg.AnonUserUUID && u.UUID != cfg.SysUserUUID {
+ emptyUserIDs = append(emptyUserIDs, u.UUID)
+ log.Printf("Empty %s found in user %s - ignoring", cfg.UserID, u.UUID)
+ }
continue
}
if cfg.CaseInsensitive {
continue
}
if cfg.CaseInsensitive {