address comments

This commit is contained in:
Mengqi Yu
2021-11-18 14:58:04 -08:00
parent 5caed5b90a
commit 4e7aebc20c
2 changed files with 17 additions and 9 deletions

View File

@@ -117,7 +117,7 @@ func Execute(p ResourceListProcessor, rlSource *kio.ByteReadWriter) error {
rl.FunctionConfig = rlSource.FunctionConfig
// We store the original
nodeAnnos, err := kio.StoreInternalAnnotations(rl.Items)
nodeAnnos, err := kio.GetInternalAnnotationsFromResourceList(rl.Items)
if err != nil {
return err
}