mirror of https://github.com/ceph/go-ceph
Add go vet to Travis
This commit is contained in:
parent
bd5bc6d4cb
commit
35ee127486
|
@ -24,3 +24,4 @@ script:
|
|||
- go list ./...
|
||||
- go test -v $(go list ./... | grep -v cephfs)
|
||||
- go fmt ./...
|
||||
- go vet ./...
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue