1
0
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:
Darren Shepherd 2019-01-15 13:25:55 -07:00 committed by GitHub
commit fe50543a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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