diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-02 21:42:12 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-02 21:42:12 -0700 |
| commit | 68e878adb5d63cb961fdff8585bd6eede3b616f1 (patch) | |
| tree | 530740a1f5c3b385cb138026fb7bfd091d8ad141 /weed/filer/mongodb/mongodb_store.go | |
| parent | 0d99a5da3caa5a35ccc6048e6ec995487379e61e (diff) | |
| download | seaweedfs-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.go | 2 |
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 } |
