IBM-Cloud / bluemix-go

Go library for accessing the Bluemix API
Apache License 2.0
37 stars 89 forks source link

Update cs Example to correct usage. #114

Open alokrajiv opened 5 years ago

alokrajiv commented 5 years ago

The usage assumes region is same in v1.ClusterTargetHeader as in orgAPI or spaceAPI.

This is not true for all regions. jp-tok only exists in some services like cs.

This is handled in the ibmcloud cli with the ibmcloud ks region-set sub-command.

This example updates the same, with a fallback to the main regions if the flag is not provided