IBM / cloud-native-starter

Cloud Native Starter for Java/Jakarta EE based Microservices on Kubernetes and Istio
https://cloud-native-starter.mybluemix.net/
Apache License 2.0
518 stars 273 forks source link

Bug in cluster-add-istio.sh #14

Closed keshlam closed 5 years ago

keshlam commented 5 years ago

The script currently says STATE=$(ibmcloud ks cluster-get $CLUSTER_NAME -s | awk '/State:/ {print $2}')

This has to be changed to STATE=$(ibmcloud ks cluster-get $CLUSTER_NAME -s | awk '/^State:/ {print $2}') (note the caret), to distinguish it from the "Master State:" line which now also appears in that output.

Harald-U commented 5 years ago

@keshlam Thanks Joe for pointing this out. I have fixed it.