diff --git a/weed/filer/leveldb/leveldb_store_test.go b/weed/filer/leveldb/leveldb_store_test.go index df196b02e..d656c690a 100644 --- a/weed/filer/leveldb/leveldb_store_test.go +++ b/weed/filer/leveldb/leveldb_store_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/chrislusf/seaweedfs/weed/filer" + filer2 "github.com/chrislusf/seaweedfs/weed/filer" "github.com/chrislusf/seaweedfs/weed/util" ) @@ -22,7 +22,7 @@ func TestCreateAndFind(t *testing.T) { ctx := context.Background() - entry1 := &filer.Entry{ + entry1 := &filer2.Entry{ FullPath: fullpath, Attr: filer.Attr{ Mode: 0440, diff --git a/weed/filer/leveldb2/leveldb2_store_test.go b/weed/filer/leveldb2/leveldb2_store_test.go index 191de0040..8939720ee 100644 --- a/weed/filer/leveldb2/leveldb2_store_test.go +++ b/weed/filer/leveldb2/leveldb2_store_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/chrislusf/seaweedfs/weed/filer" + filer2 "github.com/chrislusf/seaweedfs/weed/filer" "github.com/chrislusf/seaweedfs/weed/util" ) @@ -22,7 +22,7 @@ func TestCreateAndFind(t *testing.T) { ctx := context.Background() - entry1 := &filer.Entry{ + entry1 := &filer2.Entry{ FullPath: fullpath, Attr: filer.Attr{ Mode: 0440,