Commit e3c2170e authored by shashidharatd's avatar shashidharatd

Fix couple of minor issues in federation deployment scripts

parent 7a633b55
......@@ -52,7 +52,7 @@ function federation_cluster_contexts() {
federation_contexts=()
for context in ${contexts}; do
# Skip federation context
if [[ "${context}" == "${FEDERATION_NAME}" ]]; then
if [[ "${context}" == "${FEDERATION_KUBE_CONTEXT}" ]]; then
continue
fi
# Skip contexts not beginning with "federation"
......@@ -61,7 +61,7 @@ function federation_cluster_contexts() {
fi
federation_contexts+=("${context}")
done
echo ${federation_contexts[@]}
echo ${federation_contexts[@]:-}
}
......
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