Mirantis / kostyor-cli

CLI for Kostyor.
0 stars 2 forks source link

Use new version of /clusters endpoint #4

Closed ikalnytskyi closed 8 years ago

ikalnytskyi commented 8 years ago

In the following patch [1] to Kostyor API it's proposed to return a list of cluster objects instead of dictionary with 'clusters' key. This approach follows Flask-RESTful practices.

This commit makes Kostyor CLI to be compatible with both outputs in order to pass tests.

[1] https://github.com/sc68cal/Kostyor/pull/39

sc68cal commented 8 years ago

This needs to be reverted, it broke master

https://travis-ci.org/sc68cal/Kostyor/builds/160169054#L656