mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #21132 from petermd/kubeaddon-api-status
Auto commit by PR queue bot
This commit is contained in:
commit
4f3c89ce81
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user