Add gofmt to metalinter.
Fix one issue it caught. This depends on PR#97
This commit is contained in:
parent
441bb918ec
commit
5c3e647618
2 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@
|
|||
set -e
|
||||
|
||||
# Automatic checks
|
||||
test -z "$(gofmt -l -w . | tee /dev/stderr)"
|
||||
test -z "$(gometalinter --disable-all \
|
||||
--enable=gofmt \
|
||||
--enable=golint \
|
||||
--enable=vet \
|
||||
--enable=goimports \
|
||||
|
|
|
@ -555,7 +555,7 @@ func (c *Client) reregisterNtfns() error {
|
|||
// ignoreResends is a set of all methods for requests that are "long running"
|
||||
// are not be reissued by the client on reconnect.
|
||||
var ignoreResends = map[string]struct{}{
|
||||
"rescan": struct{}{},
|
||||
"rescan": {},
|
||||
}
|
||||
|
||||
// resendRequests resends any requests that had not completed when the client
|
||||
|
|
Loading…
Reference in a new issue