Skip to content

Add preemptive instance request fields to server#56

Open
DigitallyBorn wants to merge 3 commits intofog:masterfrom
Rigor:rigor-working
Open

Add preemptive instance request fields to server#56
DigitallyBorn wants to merge 3 commits intofog:masterfrom
Rigor:rigor-working

Conversation

@DigitallyBorn
Copy link
Copy Markdown
Contributor

In addition to adding the preemptive instance fields (aka spot instance), I simplified the url/parameter building a little bit to make it easier to read/expand.

There was also a bug detecting the content type. Fixing that allowed the fog-core library to automatically deserialize some responses, so we don't have to explicitly decode responses here anymore.

Also, claiming a little credit for myself for bragging rights.

This is likely a breaking bug fix, since requests will now _correctly_ parse the response body as json and return a hash, instead of returning the body as a string.

Fixes fog#34
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