cleanup service account action log statement

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss
2018-07-23 12:10:30 -07:00
parent e063b7983a
commit f62045623c
+1 -1
View File
@@ -93,7 +93,7 @@ func (a *serviceAccountAction) Execute(item runtime.Unstructured, backup *v1.Bac
for _, s := range crb.ServiceAccountSubjects(namespace) {
if s == name {
a.log.Infof("Adding clusterrole %s and clusterrolebinding %s to additionalItems since serviceaccount %s/%s is a subject",
crb.RoleRefName(), crb, namespace, name)
crb.RoleRefName(), crb.Name(), namespace, name)
bindings.Insert(crb.Name())
roles.Insert(crb.RoleRefName())