Handle the case where no k8s containers exist for cleanup
When no k8s containers exist for the cleanup functions to iterate over,
the `$ids` array is empty and must be carefully dealt with so excessive
error messages are not printed.
@@ -97,6 +97,6 @@ function os::cleanup::internal::list_k8s_containers() {
fi
done
- echo "${ids[*]}"
+ echo "${ids[*]:+"${ids[*]}"}"
}
readonly -f os::cleanup::internal::list_k8s_containers
\ No newline at end of file
