Skip to content

Commit

Permalink
Merge pull request #49 from lixiaojun629/develop
Browse files Browse the repository at this point in the history
fixbug, password missed when creating redis
  • Loading branch information
lixiaojun629 authored May 21, 2020
2 parents 9664593 + 8394a84 commit edc9f2b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export VERSION=0.1.30
export VERSION=0.1.31

.PHONY : install
install:
Expand Down
2 changes: 1 addition & 1 deletion base/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion cmd/eip.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions cmd/umem.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit edc9f2b

Please sign in to comment.