This commit is contained in:
Jiacai Wang 2021-06-25 12:42:06 +08:00
commit d3ac143902
2 changed files with 2 additions and 1 deletions

View File

@ -5,12 +5,12 @@ workspace:
pipeline:
build:
image: golang
# pull: true
commands:
- pwd
- ls
- go env -w GOPROXY=https://goproxy.io,direct
- go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk
- go get -u github.com/aliyun/alibaba-cloud-sdk-go/services/alidns
- go mod init alidns
- go mod tidy

View File

@ -87,6 +87,7 @@ func main() {
// find subdomain
for _, record := range config.Records {
found = false
for _, record_ := range domainRecords.DomainRecords.Record {
if record.Type == record_.Type &&