You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very new to cloud foundry brokers and go so apologies if I'm missing something obvious but I seem to be running into a type inconsistency. I've been trying to implement the brokerapi interface and have the code
cannot use state (type brokerapi.LastOperationState) as type string in assignment
This seems to be because brokerapi.Failed is a LastOperationState but the State field of the LastOperationResponse is a vanilla string. Am I missing something or should the State field of the LastOperationResponse struct be a LastOperationState?
The text was updated successfully, but these errors were encountered:
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
I'm very new to cloud foundry brokers and go so apologies if I'm missing something obvious but I seem to be running into a type inconsistency. I've been trying to implement the brokerapi interface and have the code
This fails with the compiler error
This seems to be because
brokerapi.Failed
is aLastOperationState
but theState
field of theLastOperationResponse
is a vanilla string. Am I missing something or should theState
field of theLastOperationResponse
struct be aLastOperationState
?The text was updated successfully, but these errors were encountered: