diff options
| author | chrislu <chris.lu@gmail.com> | 2022-04-20 16:21:56 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-04-20 16:21:56 -0700 |
| commit | cb1e7aa27df4d0b5f864799903b2cca1d5b90d92 (patch) | |
| tree | 8206b9eb560e4ad89663537abc2c568e69b1cb6f | |
| parent | 7c4a556940fba65840ec2522394ea3a4e0a78fb4 (diff) | |
| download | seaweedfs-cb1e7aa27df4d0b5f864799903b2cca1d5b90d92.tar.xz seaweedfs-cb1e7aa27df4d0b5f864799903b2cca1d5b90d92.zip | |
fix build
| -rw-r--r-- | weed/filer/arangodb/arangodb_store_bucket.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/filer/arangodb/arangodb_store_bucket.go b/weed/filer/arangodb/arangodb_store_bucket.go index 63d407309..810d639a7 100644 --- a/weed/filer/arangodb/arangodb_store_bucket.go +++ b/weed/filer/arangodb/arangodb_store_bucket.go @@ -2,9 +2,9 @@ package arangodb import ( "context" + "github.com/arangodb/go-driver" "time" - "github.com/arangodb/go-driver" "github.com/chrislusf/seaweedfs/weed/filer" "github.com/chrislusf/seaweedfs/weed/glog" @@ -18,7 +18,7 @@ func (store *ArangodbStore) OnBucketCreation(bucket string) { // create the collection && add to cache _, err := store.ensureBucket(timeout, bucket) if err != nil { - glog.V(0).Infof("bucket create %s : %w", bucket, err) + glog.Errorf("bucket create %s: %v", bucket, err) } } func (store *ArangodbStore) OnBucketDeletion(bucket string) { @@ -26,12 +26,12 @@ func (store *ArangodbStore) OnBucketDeletion(bucket string) { defer cancel() collection, err := store.ensureBucket(timeout, bucket) if err != nil { - glog.V(0).Infof("bucket delete %s : %w", bucket, err) + glog.Errorf("bucket delete %s: %v", bucket, err) return } err = collection.Remove(timeout) if err != nil && !driver.IsNotFound(err) { - glog.V(0).Infof("bucket delete %s : %w", bucket, err) + glog.Errorf("bucket delete %s: %v", bucket, err) return } } |
