mirror of https://github.com/ceph/go-ceph
Merge pull request #51 from nanjekyejoannah/add_go_vet
Add go vet to Travis
This commit is contained in:
commit
8b9635ff29
|
@ -24,3 +24,4 @@ script:
|
|||
- go list ./...
|
||||
- go test -v $(go list ./... | grep -v cephfs)
|
||||
- go fmt ./...
|
||||
- go vet ./...
|
||||
|
|
|
@ -257,8 +257,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