Skip to content

Fix ControllerPublish/Unpublish error codes #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

jsafrane
Copy link
Contributor

  • ControllerUnpublishVolume must be idempotent and thus return no error instead of VOLUME_NOT_ATTACHED_TO_SPECIFIED_NODE
  • VOLUME_ALREADY_ATTACHED does not exists, use VOLUME_ALREADY_PUBLISHED instead.

ControllerUnpublishVolume should be idempotent and thus return no error in this case.
@jsafrane
Copy link
Contributor Author

BTW, a standard gRPC error codes as suggested in #115 would be much easier to use. Close this if #115 is merged.

@jsafrane
Copy link
Contributor Author

closing in favor of #115

@jsafrane jsafrane closed this Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant