mirror of https://github.com/k3s-io/k3s
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