-
Notifications
You must be signed in to change notification settings - Fork 428
PVC Events API #1409
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
PVC Events API #1409
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of these changes seem to be removing things recently added by the update to swagger v0.28.0
make sure you are generating the new stubs with the latest swagger
➜ swagger version
version: v0.28.0
commit: 48a66e4bdbcde02c8c6c95ff9a08f64fe40b1b50
(base) console git:(update-swagger) ✗
please also rebase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting a 404 when calling the API
➜ curl 'http://localhost:9090/api/v1/namespaces/ns-1/tenants/new-tenant/pvcs/data0-new-tenant-pool-0-3/events' \
-X 'GET' \
-H 'Cookie: token=AYz9aZn1XU3ojFK798xSG6qbO9E2ZVoozMOKN2vV9egRFbc/KUu/K8YE9Jf+GKgVkhADcQJdh0/G95OWAaQR6VDvJin55Q=='
response
{"code":404,"message":"path /api/v1/namespaces/ns-1/tenants/new-tenant/pvcs/data0-new-tenant-pool-0-3/events was not found"}%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
API for getting events of PVCs