From dd7c8610bb30224f09752b55e46e5f574e5db5e9 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Sun, 28 Jul 2019 12:15:34 +0300 Subject: [PATCH] satellite/repair: move test files (#2649) --- .github/CODEOWNERS | 4 ++-- pkg/datarepair/datarepair.go => satellite/repair/repair.go | 2 +- .../datarepair_test.go => satellite/repair/repair_test.go | 2 +- uplink/metainfo/kvmetainfo/project.go | 2 +- {pkg => uplink}/storage/buckets/store.go | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename pkg/datarepair/datarepair.go => satellite/repair/repair.go (89%) rename pkg/datarepair/datarepair_test.go => satellite/repair/repair_test.go (99%) rename {pkg => uplink}/storage/buckets/store.go (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ac1e1aaf8..97a5d106d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,7 +2,7 @@ /storagenode/ @aleitner # audits -/pkg/audit/ @navillasa +/satellite/audit/ @navillasa # node identity /pkg/certificates/ @bryanchriswhite @@ -11,7 +11,7 @@ /pkg/transport/ @bryanchriswhite # repair -/pkg/datarepair/ @jenlij +/satellite/repair/ @jenlij # kademlia /pkg/kademlia/ @jenlij diff --git a/pkg/datarepair/datarepair.go b/satellite/repair/repair.go similarity index 89% rename from pkg/datarepair/datarepair.go rename to satellite/repair/repair.go index be597dda8..4b409cd51 100644 --- a/pkg/datarepair/datarepair.go +++ b/satellite/repair/repair.go @@ -1,6 +1,6 @@ // Copyright (C) 2019 Storj Labs, Inc. // See LICENSE for copying information. -package datarepair +package repair // Empty file to workaround coverpkg issue https://golang.org/issue/27333 diff --git a/pkg/datarepair/datarepair_test.go b/satellite/repair/repair_test.go similarity index 99% rename from pkg/datarepair/datarepair_test.go rename to satellite/repair/repair_test.go index 5c131d120..242c9505f 100644 --- a/pkg/datarepair/datarepair_test.go +++ b/satellite/repair/repair_test.go @@ -1,7 +1,7 @@ // Copyright (C) 2019 Storj Labs, Inc. // See LICENSE for copying information. -package datarepair_test +package repair_test import ( "context" diff --git a/uplink/metainfo/kvmetainfo/project.go b/uplink/metainfo/kvmetainfo/project.go index f8bad7dcd..9f7c2356f 100644 --- a/uplink/metainfo/kvmetainfo/project.go +++ b/uplink/metainfo/kvmetainfo/project.go @@ -4,9 +4,9 @@ package kvmetainfo import ( - "storj.io/storj/pkg/storage/buckets" "storj.io/storj/uplink/eestream" "storj.io/storj/uplink/metainfo" + "storj.io/storj/uplink/storage/buckets" "storj.io/storj/uplink/storage/streams" ) diff --git a/pkg/storage/buckets/store.go b/uplink/storage/buckets/store.go similarity index 100% rename from pkg/storage/buckets/store.go rename to uplink/storage/buckets/store.go