Skip to content

Commit e32921b

Browse files
authored
fix: build failure when using go 1.18 on darwin_arm64. (#115)
1 parent 226ae19 commit e32921b

File tree

373 files changed

+44421
-29454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

373 files changed

+44421
-29454
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
## 1.32.0 (Unreleased)
2+
3+
## 1.31.2 (2022-04-27)
4+
5+
BUG FIXES:
6+
7+
* build: fix build failure when using go 1.18 on darwin_arm64. ([golang/go#49219](https://github.com/golang/go/issues/49219))
8+
29
## 1.31.1 (2022-04-01)
310

411
BUG FIXES:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ go 1.16
55
require (
66
github.com/hashicorp/terraform-plugin-sdk v1.4.0
77
github.com/ucloud/ucloud-sdk-go v0.21.19
8-
golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c // indirect
8+
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 // indirect
99
gopkg.in/yaml.v2 v2.4.0
1010
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7w
240240
golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
241241
golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c h1:UIcGWL6/wpCfyGuJnRFJRurA+yj8RrW7Q6x2YMCXt6c=
242242
golang.org/x/sys v0.0.0-20200724161237-0e2f3a69832c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
243+
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 h1:xHms4gcpe1YE7A3yIllJXP16CMAGuqwO2lX1mTyyRRc=
244+
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
243245
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
244246
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
245247
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=

ucloud/config.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ package ucloud
33
import (
44
"encoding/json"
55
"fmt"
6-
"github.com/ucloud/ucloud-sdk-go/services/cube"
7-
"github.com/ucloud/ucloud-sdk-go/services/ufile"
8-
"github.com/ucloud/ucloud-sdk-go/services/ufs"
9-
"github.com/ucloud/ucloud-sdk-go/services/uk8s"
106
"io/ioutil"
117
"os"
128
"path/filepath"
139
"runtime"
1410
"time"
1511

12+
"github.com/ucloud/ucloud-sdk-go/services/cube"
13+
"github.com/ucloud/ucloud-sdk-go/services/ufile"
14+
"github.com/ucloud/ucloud-sdk-go/services/ufs"
15+
"github.com/ucloud/ucloud-sdk-go/services/uk8s"
16+
1617
"github.com/ucloud/ucloud-sdk-go/services/udpn"
1718

1819
"github.com/ucloud/ucloud-sdk-go/external"
@@ -68,7 +69,7 @@ func (c *Config) Client() (*UCloudClient, error) {
6869
// enable auto retry with http/connection error
6970
cfg.MaxRetries = c.MaxRetries
7071
cfg.LogLevel = log.PanicLevel
71-
cfg.UserAgent = "Terraform-UCloud/1.31.1"
72+
cfg.UserAgent = "Terraform-UCloud/1.31.2"
7273
cfg.BaseUrl = c.BaseURL
7374

7475
cred := auth.NewCredential()

vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s

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

vendor/golang.org/x/sys/cpu/byteorder.go

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

vendor/golang.org/x/sys/cpu/cpu.go

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

vendor/golang.org/x/sys/cpu/cpu_aix.go

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

vendor/golang.org/x/sys/cpu/cpu_arm.go

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

0 commit comments

Comments
 (0)