mirror of
https://github.com/rancher/norman.git
synced 2025-09-21 02:58:44 +00:00
Merge pull request #244 from StrongMonkey/inputid
don't compare inputid
This commit is contained in:
@@ -184,12 +184,6 @@ func (o *DesiredSet) compareObjects(client objectclient.GenericClient, debugID,
|
||||
return err
|
||||
}
|
||||
|
||||
oldInputID := oldMetadata.GetAnnotations()[LabelInputID]
|
||||
|
||||
if !force && (o.owner != nil || len(o.objs.inputs) > 0) && oldInputID == inputID {
|
||||
return nil
|
||||
}
|
||||
|
||||
gvk := client.GroupVersionKind()
|
||||
if ran, err := applyPatch(client, debugID, inputID, oldObject, newObject); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user