Closed huikang closed 7 years ago
Hi @huikang ,
You could use https://github.com/IBM-Bluemix/bluemix-go/blob/master/api/mccp/mccpv2/service_instances.go#L38, perform a GET operation and check the state of the LastOperation.
Check the last_operation.state here https://apidocs.cloudfoundry.org/272/service_instances/retrieve_a_particular_service_instance.html
cool! Thanks.
When I follow the sample code to provision a discovery service and then update the servicekey. The update call returns the following error:
My code looks like
My question is is there anyway to check the status of the service instance by the GUID and then call the update. Thanks.