Merge pull request #51 from nanjekyejoannah/add_go_vet

Add go vet to Travis
This commit is contained in:
Noah Watkins 2018-07-07 11:12:38 -07:00 committed by GitHub
commit 8b9635ff29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -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