Skip to content

Compute v2: Scheduler Hints Fix#1620

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
jtopjian:computev2-scheduler-hints-fix
Jun 12, 2019
Merged

Compute v2: Scheduler Hints Fix#1620
jtopjian merged 1 commit intogophercloud:masterfrom
jtopjian:computev2-scheduler-hints-fix

Conversation

@jtopjian
Copy link
Copy Markdown
Contributor

The "query" part of the scheduler_hints has never been correct. Instead
of sending a nested JSON structure, the Nova API actually expects a
marshalled JSON string which it will then decode.

Normally we would probably just change Query to a type string and make the application do the marshaling, but since this extension already has a lot of validation included, I opted to do the marshaling here.

For #1619

The "query" part of the scheduler_hints has never been correct. Instead
of sending a nested JSON structure, the Nova API actually expects a
marshalled JSON string which it will then decode.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.02%) to 76.819% when pulling e8d48f4 on jtopjian:computev2-scheduler-hints-fix into 4e17bac on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jun 12, 2019

Build succeeded.

@jtopjian jtopjian merged commit 039e7d4 into gophercloud:master Jun 12, 2019
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.

2 participants