Update pkg/controller/util.go

This commit is contained in:
Felix Kunde 2021-11-24 11:58:06 +01:00 committed by GitHub
parent 203fd36d97
commit 7edc14dfb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -229,7 +229,9 @@ func (c *Controller) getInfrastructureRoles(
continue
}
roles = append(roles, infraRoles...)
for _, r := range infraRoles {
roles = append(roles, r)
}
}
for _, r := range roles {