1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

fix go-namecheap vendor, already applied upstream (#100)

* fix go-namecheap vendor, already applied upstream

* updating metadata with govendor

* add one additional file from govendor update that was missed initially
This commit is contained in:
rbelnap
2017-05-10 09:50:05 -04:00
committed by Craig Peterson
parent 4e2669a4e3
commit a355b8e438
3 changed files with 28 additions and 3 deletions

24
vendor/github.com/billputer/go-namecheap/Makefile generated vendored Normal file
View File

@ -0,0 +1,24 @@
.PHONY: all fmt vet lint build test
.DEFAULT: default
all: build fmt lint test vet
build:
@echo "+ $@"
@go build -tags "$(BUILDTAGS) cgo" .
fmt:
@echo "+ $@"
@gofmt -l . | grep -v vendor | tee /dev/stderr
lint:
@echo "+ $@"
@golint ./... | grep -v vendor | tee /dev/stderr
test:
@echo "+ $@"
@go test -v
vet:
@echo "+ $@"
@go vet $(shell go list ./... | grep -v vendor)

View File

@ -64,6 +64,7 @@ func (client *Client) DomainDNSSetHosts(
requestInfo.params.Set(fmt.Sprintf("HostName%v", i+1), hosts[i].Name) requestInfo.params.Set(fmt.Sprintf("HostName%v", i+1), hosts[i].Name)
requestInfo.params.Set(fmt.Sprintf("RecordType%v", i+1), hosts[i].Type) requestInfo.params.Set(fmt.Sprintf("RecordType%v", i+1), hosts[i].Type)
requestInfo.params.Set(fmt.Sprintf("Address%v", i+1), hosts[i].Address) requestInfo.params.Set(fmt.Sprintf("Address%v", i+1), hosts[i].Address)
requestInfo.params.Set(fmt.Sprintf("MXPref%v", i+1), strconv.Itoa(hosts[i].MXPref))
requestInfo.params.Set(fmt.Sprintf("TTL%v", i+1), strconv.Itoa(hosts[i].TTL)) requestInfo.params.Set(fmt.Sprintf("TTL%v", i+1), strconv.Itoa(hosts[i].TTL))
} }

6
vendor/vendor.json vendored
View File

@ -188,10 +188,10 @@
"revisionTime": "2016-08-11T16:24:59Z" "revisionTime": "2016-08-11T16:24:59Z"
}, },
{ {
"checksumSHA1": "TXJTqz9rg4ttab1r7H7npjHaLsM=", "checksumSHA1": "1zjIuntUcKPUpENZZl1MD+aemPs=",
"path": "github.com/billputer/go-namecheap", "path": "github.com/billputer/go-namecheap",
"revision": "fcc3af79f774b09a3ef95ef48b03ee6e76141e91", "revision": "7e62cd9a88279c621b6daf38a9ef0dd11c4d47e3",
"revisionTime": "2016-08-11T21:32:45Z" "revisionTime": "2017-04-24T18:15:40Z"
}, },
{ {
"checksumSHA1": "yP+hlSaIhYwxErc/s286p9M+LIs=", "checksumSHA1": "yP+hlSaIhYwxErc/s286p9M+LIs=",