mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
fix golint
Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
parent
c2b69d30e0
commit
eda167ca0d
@ -10,7 +10,7 @@ go: 1.9.x
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
|
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
|
||||||
- go get github.com/golang/lint/golint
|
- go get -u golang.org/x/lint/golint #go get github.com/golang/lint/golint
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- test -z $(gofmt -s -l $GO_FILES)
|
- test -z $(gofmt -s -l $GO_FILES)
|
||||||
|
Loading…
Reference in New Issue
Block a user