Remove incorrect comment

pull/8/head
linyouchong 2018-08-16 15:52:00 +08:00
parent 780f4b46e0
commit b4c27a1501
1 changed files with 1 additions and 1 deletions

View File

@ -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)