Skip to content

Handle deprecated providers with a error message and a URL to follow up#701

Closed
tonybaloney wants to merge 2 commits into
apache:trunkfrom
NTTLimitedRD:LIBCLOUD-801
Closed

Handle deprecated providers with a error message and a URL to follow up#701
tonybaloney wants to merge 2 commits into
apache:trunkfrom
NTTLimitedRD:LIBCLOUD-801

Conversation

@tonybaloney

Copy link
Copy Markdown
Contributor

@tonybaloney

Copy link
Copy Markdown
Contributor Author

@Kami @erjohnso @jcsalterego @Runseb @allardhoeve - this is an important one. Are you happy with the way this works?

@allardhoeve

Copy link
Copy Markdown
Contributor

Looks simple enough to me.

@erjohnso

Copy link
Copy Markdown
Contributor

LGTM @tonybaloney. Nice clean up!

@asfgit asfgit closed this in d2ca6cd Feb 12, 2016
asfgit pushed a commit that referenced this pull request Feb 12, 2016
@Kami

Kami commented Feb 14, 2016

Copy link
Copy Markdown
Member

Yay, removing code is always great (less stuff to maintainer, less surface area for bugs, etc.) :P

LGTM



def get_driver(provider):
if provider in DEPRECATED_DRIVERS:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test case for this would be nice :)

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.

4 participants