From 885ce9a411fc6f76091638c9afeede999b10e2c8 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Mon, 17 Jul 2023 17:58:47 -0500 Subject: [PATCH] add comment --- main.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/main.sh b/main.sh index 4aba10e..ffb2e8b 100755 --- a/main.sh +++ b/main.sh @@ -130,6 +130,7 @@ for c in $CONNECTORS; do else echo "Image: $IMG" cp "$(dirname "$c")/$IMG" "$DIR" + # Patch legacy YAMLs by moving .info.pins to .info.image.pins yq --inplace e '.info.image.pins = .info.pins' "$c" yq --inplace e 'del(.info.pins)' "$c" fi