From f62045623c0e504911717f7e83e04462e078293b Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Mon, 23 Jul 2018 12:10:30 -0700 Subject: [PATCH] cleanup service account action log statement Signed-off-by: Steve Kriss --- pkg/backup/service_account_action.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backup/service_account_action.go b/pkg/backup/service_account_action.go index 65a4270e2..28c92ee9b 100644 --- a/pkg/backup/service_account_action.go +++ b/pkg/backup/service_account_action.go @@ -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())