Change the default API version used by the cli to v2
Since the v1 API is somewhat deprecated lets default to v2. Change-Id: Iece5428b2a47e63995e26f58347d4f7c8f8cb238
This commit is contained in:
@@ -143,9 +143,9 @@ class CeilometerShell(object):
|
||||
|
||||
parser.add_argument('--ceilometer-api-version',
|
||||
default=utils.env(
|
||||
'CEILOMETER_API_VERSION', default='1'),
|
||||
'CEILOMETER_API_VERSION', default='2'),
|
||||
help='Defaults to env[CEILOMETER_API_VERSION] '
|
||||
'or 1')
|
||||
'or 2')
|
||||
|
||||
parser.add_argument('--ceilometer_api_version',
|
||||
help=argparse.SUPPRESS)
|
||||
|
||||
Reference in New Issue
Block a user