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:
24
vendor/github.com/billputer/go-namecheap/Makefile
generated
vendored
Normal file
24
vendor/github.com/billputer/go-namecheap/Makefile
generated
vendored
Normal 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)
|
1
vendor/github.com/billputer/go-namecheap/dns.go
generated
vendored
1
vendor/github.com/billputer/go-namecheap/dns.go
generated
vendored
@ -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("RecordType%v", i+1), hosts[i].Type)
|
||||
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))
|
||||
|
||||
}
|
||||
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
@ -188,10 +188,10 @@
|
||||
"revisionTime": "2016-08-11T16:24:59Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "TXJTqz9rg4ttab1r7H7npjHaLsM=",
|
||||
"checksumSHA1": "1zjIuntUcKPUpENZZl1MD+aemPs=",
|
||||
"path": "github.com/billputer/go-namecheap",
|
||||
"revision": "fcc3af79f774b09a3ef95ef48b03ee6e76141e91",
|
||||
"revisionTime": "2016-08-11T21:32:45Z"
|
||||
"revision": "7e62cd9a88279c621b6daf38a9ef0dd11c4d47e3",
|
||||
"revisionTime": "2017-04-24T18:15:40Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "yP+hlSaIhYwxErc/s286p9M+LIs=",
|
||||
|
Reference in New Issue
Block a user