Merge "Conversion to milliseconds"

This commit is contained in:
Jenkins 2015-03-11 19:10:05 +00:00 committed by Gerrit Code Review
commit 9d70a4fdb6
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ notification_types = ['EMAIL', 'WEBHOOK', 'PAGERDUTY']
'that confuse the CLI parser.',
action='append')
@utils.arg('--time', metavar='<UNIX_TIMESTAMP>',
default=time.time(), type=int,
help='Metric timestamp. Default: current timestamp.')
default=time.time() * 1000, type=int,
help='Metric timestamp in milliseconds. Default: current timestamp.')
@utils.arg('--project-id', metavar='<CROSS_PROJECT_ID>',
help='The Project ID to create metric on behalf of. '
'Requires monitoring-delegate role in keystone.',