mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 22:49:33 +02:00
getInfrastructureRoles should return error
This commit is contained in:
@@ -506,7 +506,7 @@ func (c *Cluster) deleteSecrets() error {
|
||||
}
|
||||
|
||||
if len(errors) > 0 {
|
||||
return fmt.Errorf("could not delete all secrets: %v", errors)
|
||||
return fmt.Errorf("could not delete all secrets: %v", strings.Join(errors, `', '`))
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user