Skip to content

Commit

Permalink
Merge branch 'development' into feature/Test-against-Mongo-minor-rele…
Browse files Browse the repository at this point in the history
…ases-updates-as-of-Aug-2018
  • Loading branch information
eminano authored Aug 28, 2018
2 parents c5bad38 + c6b12a3 commit d8e0388
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ language: go
go_import_path: github.com/globalsign/mgo

go:
- 1.9.x
- 1.10.x
- 1.11.x

env:
global:
Expand Down Expand Up @@ -33,7 +33,7 @@ install:

before_script:
- golint ./... | grep -v 'ID' | cat
- go vet github.com/globalsign/mgo/bson github.com/globalsign/mgo/txn github.com/globalsign/mgo
- go vet github.com/globalsign/mgo/bson github.com/globalsign/mgo/txn github.com/globalsign/mgo
- export NOIPV6=1
- make startdb

Expand Down
2 changes: 1 addition & 1 deletion gridfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ func (file *GridFile) insertChunk(data []byte) {
// an error, if any.
func (file *GridFile) Seek(offset int64, whence int) (pos int64, err error) {
file.m.Lock()
debugf("GridFile %p: seeking for %s (whence=%d)", file, offset, whence)
debugf("GridFile %p: seeking for %d (whence=%d)", file, offset, whence)
defer file.m.Unlock()
switch whence {
case os.SEEK_SET:
Expand Down
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3907,7 +3907,7 @@ func (db *Database) run(socket *mongoSocket, cmd, result interface{}) (err error
if result != nil {
err = bson.Unmarshal(data, result)
if err != nil {
debugf("Run command unmarshaling failed: %#v", op, err)
debugf("Run command unmarshaling: %#v, failed: %#v", op, err)
return err
}
if globalDebug && globalLogger != nil {
Expand Down

0 comments on commit d8e0388

Please sign in to comment.