Add go vet to Travis

This commit is contained in:
Joannah Nanjekye 2018-01-30 21:12:42 +03:00
parent bd5bc6d4cb
commit 35ee127486
2 changed files with 1 additions and 2 deletions

View File

@ -24,3 +24,4 @@ script:
- go list ./...
- go test -v $(go list ./... | grep -v cephfs)
- go fmt ./...
- go vet ./...

View File

@ -250,8 +250,6 @@ func (ioctx *IOContext) ListObjects(listFn ObjectListFunc) error {
}
listFn(C.GoString(c_entry))
}
panic("invalid state")
}
// Stat returns the size of the object and its last modification time