We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a824c3 commit b379db2Copy full SHA for b379db2
pkg/controller/util.go
@@ -341,9 +341,7 @@ func (c *Controller) getInfrastructureRole(
341
util.Coalesce(string(secretData[infraRole.RoleKey]), infraRole.DefaultRoleValue))
342
}
343
344
- if roleDescr.Valid() {
345
- roles = append(roles, *roleDescr)
346
- } else {
+ if !roleDescr.Valid() {
347
msg := "infrastructure role %q is not complete and ignored"
348
c.logger.Warningf(msg, roleDescr)
349
0 commit comments