From 175f01e5c90e0d85372e50fc8cc6ea9cdface3f3 Mon Sep 17 00:00:00 2001 From: zhengjiajie Date: Sat, 15 Sep 2018 19:31:08 +0800 Subject: [PATCH] zhengjiajie modify list method --- cmd/climc/shell/res_results.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/climc/shell/res_results.go b/cmd/climc/shell/res_results.go index 78d1daa4f3..bd5e615f68 100644 --- a/cmd/climc/shell/res_results.go +++ b/cmd/climc/shell/res_results.go @@ -14,7 +14,7 @@ func init() { StatMonth string `help:"stat_month of the query"` StartDate string `help:"start_date of the query"` EndDate string `help:"end_date of the query"` - Keys string `help:"keys of the query"` + Keys string `help:"keys of the query"` Texts string `help:"texts of the query"` ProjectId string `help:"project_id of the query"` } @@ -39,11 +39,11 @@ func init() { params.Add(jsonutils.NewString(args.EndDate), "end_date") } if len(args.Keys) > 0 { - params.Add(jsonutils.NewString(args.Keys), "keys") - } + params.Add(jsonutils.NewString(args.Keys), "keys") + } if len(args.Texts) > 0 { - params.Add(jsonutils.NewString(args.Texts), "texts") - } + params.Add(jsonutils.NewString(args.Texts), "texts") + } if len(args.ProjectId) > 0 { params.Add(jsonutils.NewString(args.ProjectId), "project_id") }