Skip to content
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

SIO API versions not returned correctly #24

Open
swevm opened this issue Jun 8, 2015 · 1 comment
Open

SIO API versions not returned correctly #24

swevm opened this issue Jun 8, 2015 · 1 comment

Comments

@swevm
Copy link
Owner

swevm commented Jun 8, 2015

For every login

self._api_version = None

is populated with current SIO API version number. There are differences between SIO 1.31 and 1.31 in terms of how some API methods are called. Additional parameters are attached to some returned JSON data as well which need to be handle correctly. Since 1.1 is returned for both .31 and .32 it makes it much harder to implement code that handle differences.
Values returned by /api/version:
1.0 for SIO 1.30
1.1 for SIO 1.31
1.1 for SIO 1.32

@wallnerryan
Copy link
Contributor

maybe this is something to raise with the scaleio team?

Or we can ask users to define with ScaleIO version they are using. E.g. version=1.32 would be checked in certain calls to make them version appropriate.

The downside is your relying on the user and not the system for this info/confirmation, but could be temporary fix.

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

No branches or pull requests

2 participants