From d0f0aaf346b2897e03af63d59eeefaf0cd919ed4 Mon Sep 17 00:00:00 2001 From: Aaron-DH Date: Wed, 9 Nov 2016 14:51:37 +0800 Subject: [PATCH] Make begin and end optional when get dataframes when get dataframes with `cloudkitty storage-dataframe-list`, begin and end is mandatory. make it optional like get total Change-Id: I0a0f4073888621833b0bb6588a0452a642327797 Closes-Bug: #1640372 --- cloudkittyclient/v1/storage/shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudkittyclient/v1/storage/shell.py b/cloudkittyclient/v1/storage/shell.py index ba08bf6..a56f860 100644 --- a/cloudkittyclient/v1/storage/shell.py +++ b/cloudkittyclient/v1/storage/shell.py @@ -19,10 +19,10 @@ from cloudkittyclient.common import utils @utils.arg('-b', '--begin', help='Starting date/time (YYYY-MM-ddThh:mm:ss)', - required=True) + required=False) @utils.arg('-e', '--end', help='Ending date/time (YYYY-MM-ddThh:mm:ss)', - required=True) + required=False) @utils.arg('-t', '--tenant', help='Tenant ID', required=False,