Print the reverting back to v1 to stderr
Printing to stderr to fix the download issue. Change-Id: I2916bb100ac451378db82291855078f2b37466bd Closes-Bug: #1488914
This commit is contained in:
@@ -671,7 +671,7 @@ class OpenStackImagesShell(object):
|
|||||||
if switch_version:
|
if switch_version:
|
||||||
print('WARNING: The client is falling back to v1 because'
|
print('WARNING: The client is falling back to v1 because'
|
||||||
' the accessing to v2 failed. This behavior will'
|
' the accessing to v2 failed. This behavior will'
|
||||||
' be removed in future versions')
|
' be removed in future versions', file=sys.stderr)
|
||||||
api_version = 1
|
api_version = 1
|
||||||
|
|
||||||
sub_parser = _get_subparser(api_version)
|
sub_parser = _get_subparser(api_version)
|
||||||
|
Reference in New Issue
Block a user