Commit 4f3c89ce authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #21132 from petermd/kubeaddon-api-status

Auto commit by PR queue bot
parents 6e2e3986 4d4f1c64
......@@ -349,6 +349,12 @@ function match-objects() {
new_files=""
addon_nsnames_on_server=$(get-addon-nsnames-from-server "${obj_type}")
# if the api server is unavailable then abandon the update for this cycle
if [[ $? -ne 0 ]]; then
log ERR "unable to query ${obj_type} - exiting"
exit 1
fi
addon_paths_in_files=$(get-addon-paths-from-disk "${addon_dir}" "${obj_type}")
log DB2 "addon_nsnames_on_server=${addon_nsnames_on_server}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment