Skip to content

Commit 1100659

Browse files
authored
update ucloud go sdk version (#78)
* update ucloud-sdk-go version * update version info for future release
1 parent c38700e commit 1100659

File tree

39 files changed

+3266
-884
lines changed

39 files changed

+3266
-884
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.1.46 (2023-12-28)
2+
3+
* update ucloud go sdk version
4+
5+
## 0.1.45 (2023-12-18)
6+
7+
* fix reinstall password encoding
8+
19
## 0.1.44 (2023-08-15)
210

311
* fix failing to specify release-eip and delete-cloud-disk to false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export VERSION=0.1.44
1+
export VERSION=0.1.46
22
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
33

44
.PHONY : install

base/config.go

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

4141
// Version 版本号
42-
const Version = "0.1.44"
42+
const Version = "0.1.46"
4343

4444
var UserAgent = fmt.Sprintf("UCloud-CLI/%s", Version)
4545

cmd/pathx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func NewCmdUGA3Create(out io.Writer) *cobra.Command {
174174
bindRegion(createPathxReq, flags)
175175
bindZone(createPathxReq, flags)
176176

177-
createPathxReq.Bandwidth = flags.Int("bandwidth", 0,
177+
createPathxReq.Bandwidth = flags.String("bandwidth", "0",
178178
"Required. Shared bandwidth of the resource")
179179
flags.String("area-code", "",
180180
"Optional. When it is empty,the nearest zone will be selected based on the origin-domain and origin-ip. "+

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/sirupsen/logrus v1.3.0
1010
github.com/spf13/cobra v0.0.3
1111
github.com/spf13/pflag v1.0.3
12-
github.com/ucloud/ucloud-sdk-go v0.21.42
12+
github.com/ucloud/ucloud-sdk-go v0.22.10
1313
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150
1414
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
1515
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1
5151
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
5252
github.com/ucloud/ucloud-sdk-go v0.21.42 h1:WGFpTRrnAL6yEZVJsZxNH5kSMNQNCYBsB8pq159QRG4=
5353
github.com/ucloud/ucloud-sdk-go v0.21.42/go.mod h1:dyLmFHmUfgb4RZKYQP9IArlvQ2pxzFthfhwxRzOEPIw=
54+
github.com/ucloud/ucloud-sdk-go v0.22.10 h1:jelK2qhOY7XDjUywdMbfBhNATIW8RIbsqgEfBFm3RNk=
55+
github.com/ucloud/ucloud-sdk-go v0.22.10/go.mod h1:dyLmFHmUfgb4RZKYQP9IArlvQ2pxzFthfhwxRzOEPIw=
5456
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
5557
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
5658
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=

vendor/github.com/ucloud/ucloud-sdk-go/private/protocol/http/client.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ucloud/ucloud-sdk-go/services/pathx/apis.go

Lines changed: 7 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ucloud/ucloud-sdk-go/services/pathx/doc.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ucloud/ucloud-sdk-go/services/pathx/models.go

Lines changed: 58 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)