getInfrastructureRoles should return error

This commit is contained in:
Felix Kunde
2021-11-24 12:16:21 +01:00
parent 7edc14dfb3
commit 4bbf1e9d24
3 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func (strategy DefaultUserSyncStrategy) ExecuteSyncRequests(requests []spec.PgSy
return err
}
} else {
return fmt.Errorf("could not execute sync requests for users: %v", errors)
return fmt.Errorf("could not execute sync requests for users: %v", strings.Join(errors, `', '`))
}
}