mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +00:00
use custom id as key of the mapping and make kio.Pipeline behave the same as framework.Execute
This commit is contained in:
@@ -117,7 +117,7 @@ func Execute(p ResourceListProcessor, rlSource *kio.ByteReadWriter) error {
|
||||
rl.FunctionConfig = rlSource.FunctionConfig
|
||||
|
||||
// We store the original
|
||||
nodeAnnos, err := kio.GetInternalAnnotationsFromResourceList(rl.Items)
|
||||
nodeAnnos, err := kio.PreprocessResourcesForInternalAnnotationMigration(rl.Items)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user