Review Comments

This commit is contained in:
dhilipkumars 2017-07-21 13:42:13 +05:30
parent 10af4fa9db
commit 4967bb7342

View File

@ -268,7 +268,6 @@ func SetNewReplicaSetAnnotations(deployment *extensions.Deployment, newRS *exten
glog.Warningf("Updating replica set revision NewRevision not int %s", err)
return false
}
glog.Warningf("OldRevision=%d Newrevsion=%d\n", oldRevisionInt, newRevisionInt)
if oldRevisionInt < newRevisionInt {
newRS.Annotations[RevisionAnnotation] = newRevision
annotationChanged = true