From b4c27a150159e3b65e7f3a7da886e56716bd5546 Mon Sep 17 00:00:00 2001 From: linyouchong Date: Thu, 16 Aug 2018 15:52:00 +0800 Subject: [PATCH] Remove incorrect comment --- pkg/controller/history/controller_history.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/history/controller_history.go b/pkg/controller/history/controller_history.go index 8640eefa6e0..cc7fc433ce7 100644 --- a/pkg/controller/history/controller_history.go +++ b/pkg/controller/history/controller_history.go @@ -248,7 +248,7 @@ func (rh *realHistory) CreateControllerRevision(parent metav1.Object, revision * // Continue to attempt to create the revision updating the name with a new hash on each iteration for { hash := HashControllerRevision(revision, collisionCount) - // Update the revisions name and labels + // Update the revisions name clone.Name = ControllerRevisionName(parent.GetName(), hash) ns := parent.GetNamespace() created, err := rh.client.AppsV1().ControllerRevisions(ns).Create(clone)