aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/mongodb/mongodb_store.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-02 21:42:12 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-02 21:42:12 -0700
commit68e878adb5d63cb961fdff8585bd6eede3b616f1 (patch)
tree530740a1f5c3b385cb138026fb7bfd091d8ad141 /weed/filer/mongodb/mongodb_store.go
parent0d99a5da3caa5a35ccc6048e6ec995487379e61e (diff)
downloadseaweedfs-68e878adb5d63cb961fdff8585bd6eede3b616f1.tar.xz
seaweedfs-68e878adb5d63cb961fdff8585bd6eede3b616f1.zip
fix formatting
Diffstat (limited to 'weed/filer/mongodb/mongodb_store.go')
-rw-r--r--weed/filer/mongodb/mongodb_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/mongodb/mongodb_store.go b/weed/filer/mongodb/mongodb_store.go
index 104d1f9e2..1fc67931a 100644
--- a/weed/filer/mongodb/mongodb_store.go
+++ b/weed/filer/mongodb/mongodb_store.go
@@ -128,7 +128,7 @@ func (store *MongodbStore) FindEntry(ctx context.Context, fullpath util.FullPath
var where = bson.M{"directory": dir, "name": name}
err = store.connect.Database(store.database).Collection(store.collectionName).FindOne(ctx, where).Decode(&data)
if err != mongo.ErrNoDocuments && err != nil {
- glog.Error("find %s: %v", fullpath, err)
+ glog.Errorf("find %s: %v", fullpath, err)
return nil, filer_pb.ErrNotFound
}