Skip to content

Commit

Permalink
Upgraed go-lint tooling.
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel committed Feb 22, 2019
1 parent 047b23e commit 97f1935
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ RUN go get -u github.com/golang/dep/cmd/dep && \
go get -u golang.org/x/tools/cmd/goimports

# install golang-ci linter
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.12.2
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.15.0

# install the release branch of the code generator tools
RUN mkdir -p /go/src && cd /go/src && mkdir -p k8s.io && cd k8s.io && \
Expand Down
4 changes: 1 addition & 3 deletions pkg/gameserversets/gameserver_state_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ func (e *gameServerSetCacheEntry) deleted(gs *v1alpha1.GameServer) {
}

// Was pending creation, but deleted already.
if _, ok := e.pendingCreation[gs.Name]; ok {
delete(e.pendingCreation, gs.Name)
}
delete(e.pendingCreation, gs.Name)

gsClone := gs.DeepCopy()
t := metav1.Now()
Expand Down

0 comments on commit 97f1935

Please sign in to comment.