Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Simplify v2 action api, fix volume detach 500 #655

Merged
merged 2 commits into from
Sep 6, 2018

Conversation

cdosborn
Copy link
Contributor

@cdosborn cdosborn commented Aug 30, 2018

Description

When detaching a volume, run_instance_action would return the volume. The api would then attempt to return that volume object, rather than a serialized volume. The action api doesn't need to return anything besides the status of the action. It should definitely not know how serialize objects like instances and volumes.

Checklist before merging Pull Requests

  • Add an entry in the changelog
  • Reviewed and approved by at least one other contributor.

@cdosborn cdosborn self-assigned this Aug 30, 2018
@coveralls
Copy link

coveralls commented Aug 30, 2018

Coverage Status

Coverage increased (+0.02%) to 36.608% when pulling c7ff5c3 on cdosborn:fix-api-v2-volume-detach into b3ae719 on cyverse:master.

When detaching a volume, run_instance_action would return the volume. The api
would then attempt to return that volume object, rather than a serialized
volume. The action api doesn't need to return anything besides the status of
the action. It should definitely not know how serialize objects like instances
and volumes.
@cdosborn cdosborn force-pushed the fix-api-v2-volume-detach branch 2 times, most recently from 92f2906 to c7ff5c3 Compare September 6, 2018 16:59
@cdosborn cdosborn merged commit 587ed90 into cyverse:master Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants