mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
don't merge patches until they are applied
This commit is contained in:
@@ -64,11 +64,10 @@ func (p *plugin) Config(
|
|||||||
"patch appears to be empty; files=%v, Patch=%s", p.Paths, p.Patches)
|
"patch appears to be empty; files=%v, Patch=%s", p.Paths, p.Patches)
|
||||||
}
|
}
|
||||||
// Merge the patches, looking for conflicts.
|
// Merge the patches, looking for conflicts.
|
||||||
m, err := h.ResmapFactory().ConflatePatches(p.loadedPatches)
|
_, err = h.ResmapFactory().ConflatePatches(p.loadedPatches)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
p.loadedPatches = m.Resources()
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user