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
@@ -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