diff --git a/Makefile b/Makefile index 3c505f6f45..5dbc1d0e98 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -export VERSION=0.1.30 +export VERSION=0.1.31 .PHONY : install install: diff --git a/base/config.go b/base/config.go index 91a6379a7c..1f3befc380 100644 --- a/base/config.go +++ b/base/config.go @@ -36,7 +36,7 @@ const DefaultBaseURL = "https://api.ucloud.cn/" const DefaultProfile = "default" //Version 版本号 -const Version = "0.1.30" +const Version = "0.1.31" //ConfigIns 配置实例, 程序加载时生成 var ConfigIns = &AggConfig{ diff --git a/cmd/eip.go b/cmd/eip.go index 3802f8aecd..3dcd7063ae 100644 --- a/cmd/eip.go +++ b/cmd/eip.go @@ -470,7 +470,7 @@ func NewCmdEIPModifyBandwidth() *cobra.Command { Use: "modify-bw", Short: "Modify bandwith of EIP instances", Long: "Modify bandwith of EIP instances", - Example: "ucloud eip modify-bw --eip-id eip-xxx --bandwidth-mb 20", + Example: "ucloud eip modify-bw --eip-id eip-xx1,eip-xx2 --bandwidth-mb 20", // Deprecated: "use 'ucloud eip modiy'", Run: func(cmd *cobra.Command, args []string) { for _, id := range ids { diff --git a/cmd/umem.go b/cmd/umem.go index dcf35f89fa..734c14b296 100644 --- a/cmd/umem.go +++ b/cmd/umem.go @@ -167,6 +167,9 @@ func NewCmdRedisCreate(out io.Writer) *cobra.Command { fmt.Fprintln(out, "length of name should be between 6 and 63") return } + if password != "" { + req.Password = &password + } if redisType == "master-replica" { resp, err := base.BizClient.CreateURedisGroup(req) if err != nil {