diff --git a/pkg/repository/udmrepo/kopialib/lib_repo.go b/pkg/repository/udmrepo/kopialib/lib_repo.go index 7802555fc7..fe577fdc29 100644 --- a/pkg/repository/udmrepo/kopialib/lib_repo.go +++ b/pkg/repository/udmrepo/kopialib/lib_repo.go @@ -34,7 +34,7 @@ import ( "github.com/sirupsen/logrus" "github.com/vmware-tanzu/velero/pkg/repository/udmrepo" - "github.com/vmware-tanzu/velero/pkg/util/logging" + "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/logging" ) type kopiaRepoService struct { diff --git a/pkg/util/logging/kopia_log.go b/pkg/repository/udmrepo/kopialib/logging/kopia_log.go similarity index 100% rename from pkg/util/logging/kopia_log.go rename to pkg/repository/udmrepo/kopialib/logging/kopia_log.go index 82dffc056d..52908a041d 100644 --- a/pkg/util/logging/kopia_log.go +++ b/pkg/repository/udmrepo/kopialib/logging/kopia_log.go @@ -1,3 +1,5 @@ +package logging + /* Copyright the Velero contributors. @@ -14,8 +16,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -package logging - import ( "context" diff --git a/pkg/util/logging/kopia_log_test.go b/pkg/repository/udmrepo/kopialib/logging/kopia_log_test.go similarity index 100% rename from pkg/util/logging/kopia_log_test.go rename to pkg/repository/udmrepo/kopialib/logging/kopia_log_test.go diff --git a/pkg/uploader/kopia/snapshot.go b/pkg/uploader/kopia/snapshot.go index 033f304210..082d615a26 100644 --- a/pkg/uploader/kopia/snapshot.go +++ b/pkg/uploader/kopia/snapshot.go @@ -29,8 +29,8 @@ import ( "github.com/sirupsen/logrus" "github.com/vmware-tanzu/velero/pkg/repository/udmrepo" + "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/logging" "github.com/vmware-tanzu/velero/pkg/uploader" - "github.com/vmware-tanzu/velero/pkg/util/logging" "github.com/kopia/kopia/fs" "github.com/kopia/kopia/fs/localfs"