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:
Erno Kuvaja 2015-08-26 10:57:30 +00:00
parent 5026774bd1
commit f6712f5d33
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ class OpenStackImagesShell(object):
if switch_version:
print('WARNING: The client is falling back to v1 because'
' the accessing to v2 failed. This behavior will'
' be removed in future versions')
' be removed in future versions', file=sys.stderr)
api_version = 1
sub_parser = _get_subparser(api_version)