Skip to content

Commit

Permalink
Merge pull request #2392 from thaJeztah/18.09_backport_fix_ci
Browse files Browse the repository at this point in the history
[18.09 backport] remove gosimple - package is gone and it's not important
  • Loading branch information
euanh authored Jun 24, 2019
2 parents e7933d4 + 2985efc commit 7507a8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ RUN go get golang.org/x/lint/golint \
golang.org/x/tools/cmd/cover \
github.com/mattn/goveralls \
github.com/gordonklaus/ineffassign \
github.com/client9/misspell/cmd/misspell \
honnef.co/go/tools/cmd/gosimple
github.com/client9/misspell/cmd/misspell

WORKDIR /go/src/github.com/docker/libnetwork

Expand Down
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all all-local build build-local clean cross cross-local gosimple vet lint misspell check check-local check-code check-format unit-tests protobuf protobuf-local check-protobuf
.PHONY: all all-local build build-local clean cross cross-local vet lint misspell check check-local check-code check-format unit-tests protobuf protobuf-local check-protobuf
SHELL=/bin/bash

dockerbuildargs ?= --target dev - < Dockerfile
Expand Down Expand Up @@ -115,7 +115,7 @@ check: builder

check-local: check-code check-format

check-code: check-protobuf lint gosimple vet ineffassign
check-code: check-protobuf lint vet ineffassign

check-format: fmt misspell

Expand Down Expand Up @@ -164,10 +164,6 @@ ineffassign: ## run ineffassign
@echo "🐳 $@"
@test -z "$$(ineffassign . | grep -v vendor/ | grep -v ".pb.go:" | grep -v ".mock.go" | tee /dev/stderr)"

gosimple: ## run gosimple
@echo "🐳 $@"
@test -z "$$(gosimple . | grep -v vendor/ | grep -v ".pb.go:" | grep -v ".mock.go" | tee /dev/stderr)"

# check-protobuf rebuilds .pb.go files and fails if they have changed
check-protobuf: PROTOC_CHECK=1
check-protobuf: $(PB_FILES)
Expand Down
1 change: 0 additions & 1 deletion controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ func (c *controller) clusterAgentInit() {
}
}
case cluster.EventNodeLeave:
keysAvailable = false
c.agentOperationStart()
c.Lock()
c.keys = nil
Expand Down

0 comments on commit 7507a8e

Please sign in to comment.