generated: run refactor
This commit is contained in:
@@ -64,7 +64,7 @@ func updateReplicaSetStatus(c appsclient.ReplicaSetInterface, rs *apps.ReplicaSe
|
||||
fmt.Sprintf("sequence No: %v->%v", rs.Status.ObservedGeneration, newStatus.ObservedGeneration))
|
||||
|
||||
rs.Status = newStatus
|
||||
updatedRS, updateErr = c.UpdateStatus(context.TODO(), rs)
|
||||
updatedRS, updateErr = c.UpdateStatus(context.TODO(), rs, metav1.UpdateOptions{})
|
||||
if updateErr == nil {
|
||||
return updatedRS, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user