Updated openstack/openstack
Project: openstack/python-glanceclient 0cdc947bf998c7f00a23c11bf1be4bc5929b7803 Output clear error message on invalid api version Now if --os-image-api-version mistakenly contains a string then you will get a ValueError Example: $ glance --os-image-api-version hui ValueError: invalid literal for int() with base 10: 'hui' This code correctly handles this situation, prints a warning message and interrupts the execution of the client Change-Id: I4733578adfc70bd57afd5f0d4d361c8ef689a381 Closes-bug: 1401197
This commit is contained in:
committed by
Gerrit Code Review
parent
af52b239c8
commit
e43b52c9cf