Skip to content

Commit a59159f

Browse files
authored
Merge pull request #51 from lixiaojun629/develop
ucloud 0.1.32
2 parents edc9f2b + 3016d69 commit a59159f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export VERSION=0.1.31
1+
export VERSION=0.1.32
22

33
.PHONY : install
44
install:

base/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const DefaultBaseURL = "https://api.ucloud.cn/"
3636
const DefaultProfile = "default"
3737

3838
//Version 版本号
39-
const Version = "0.1.31"
39+
const Version = "0.1.32"
4040

4141
//ConfigIns 配置实例, 程序加载时生成
4242
var ConfigIns = &AggConfig{

cmd/uhost.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ func createUhost(req *uhost.CreateUHostInstanceRequest, eipReq *unet.AllocateEIP
513513
return false, logs
514514
}
515515
block.Append(fmt.Sprintf("bind eip[%s] with uhost[%s] successfully", eip, resp.UHostIds[0]))
516-
} else if *eipReq.Bandwidth != 0 {
516+
} else if *eipReq.Bandwidth != 0 || *eipReq.PayMode=="ShareBandwidth"{
517517
eipReq.ChargeType = req.ChargeType
518518
eipReq.Tag = req.Tag
519519
eipReq.Quantity = req.Quantity

0 commit comments

Comments
 (0)