Skip to content
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

in-tree: Add check for empty secret/context on create/delete #954

Merged

Conversation

ggriffiths
Copy link
Contributor

Signed-off-by: Grant Griffiths [email protected]

What this PR does / why we need it:

  • Check for empty secret/context on create/delete
  • Return respective error messages.

Which issue(s) this PR fixes (optional)
Closes #953

Special notes for your reviewer:

@ggriffiths ggriffiths requested a review from adityadani March 18, 2019 22:00
api/server/middleware_auth.go Outdated Show resolved Hide resolved
api/server/middleware_auth.go Outdated Show resolved Hide resolved
api/server/middleware_auth.go Outdated Show resolved Hide resolved
@ggriffiths ggriffiths force-pushed the intree_no_secret_improve_error_msg branch from 38df4a5 to 26543e4 Compare March 18, 2019 22:53
@ggriffiths ggriffiths requested a review from adityadani March 19, 2019 19:44
@ggriffiths ggriffiths force-pushed the intree_no_secret_improve_error_msg branch 2 times, most recently from 5acddde to 975470a Compare March 20, 2019 19:14
@ggriffiths ggriffiths force-pushed the intree_no_secret_improve_error_msg branch from 975470a to 81eb976 Compare March 20, 2019 19:15
@ggriffiths ggriffiths merged commit a0292eb into libopenstorage:master Mar 20, 2019
@ggriffiths ggriffiths deleted the intree_no_secret_improve_error_msg branch March 20, 2019 19:54
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.

in-tree: Error message for no secret/context should be more descriptive
3 participants