mirror of
https://github.com/rancher/norman.git
synced 2025-07-31 23:00:43 +00:00
Merge pull request #244 from StrongMonkey/inputid
don't compare inputid
This commit is contained in:
commit
fe50543a2e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user