Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if creds are present and not None
Currently, KeystoneStrategy checks whether the required credentials are present in the creds dict but it doesn't check whether they are valid or not. This patch checks whether the required creds are present and not None otherwise a MissingCredentials exception will be raised. Note: No need for checking parameters' values types since they'll be instances of basestring once set otherwise they'll be None. Fixes bug 1157765 Change-Id: I664a604c3cbf2fca60a88c4d887cd9a4b678c8a5 (cherry picked from commit 855162b)
- Loading branch information
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters