mirror of https://github.com/k3s-io/k3s
Remove incorrect comment
parent
780f4b46e0
commit
b4c27a1501
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue