Reverse the order of this diff so it makes more sense.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-08-24 15:46:51 -05:00
parent 22f1ca24d9
commit eb05e7a138

View File

@ -30,7 +30,7 @@ for kubeVersion in "${KUBE_VERSIONS[@]}"; do
kubeMinorVersion="$(echo "${kubeVersion}" | cut -d"." -f1-2)"
generatedVersionDir="${GENERATED_DIR}/${kubeMinorVersion}"
backupVersionDir="${BACKUP_DIR}/${kubeMinorVersion}"
diff -Naupr "${generatedVersionDir}" "${backupVersionDir}" || ret=$?
diff -Naupr "${backupVersionDir}" "${generatedVersionDir}" || ret=$?
done
# If any of the versions differed, exit nonzero with an error message.