From 072b7a014e4da4da2cf2eef4b9d02f90b55c9a9f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 5 Aug 2017 21:46:15 +0200 Subject: [PATCH] azure: User internal errors package --- internal/backend/azure/azure.go | 2 +- internal/backend/azure/azure_test.go | 2 +- internal/backend/azure/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/backend/azure/azure.go b/internal/backend/azure/azure.go index da6f21ef5..a59f1e1eb 100644 --- a/internal/backend/azure/azure.go +++ b/internal/backend/azure/azure.go @@ -10,9 +10,9 @@ import ( "time" "github.com/Azure/azure-sdk-for-go/storage" - "github.com/pkg/errors" "github.com/restic/restic/internal/backend" "github.com/restic/restic/internal/debug" + "github.com/restic/restic/internal/errors" "github.com/restic/restic/internal/restic" ) diff --git a/internal/backend/azure/azure_test.go b/internal/backend/azure/azure_test.go index 813c0a1e3..4f59e3be9 100644 --- a/internal/backend/azure/azure_test.go +++ b/internal/backend/azure/azure_test.go @@ -2,7 +2,6 @@ package azure_test import ( "context" - "errors" "fmt" "os" "testing" @@ -10,6 +9,7 @@ import ( "github.com/restic/restic/internal/backend/azure" "github.com/restic/restic/internal/backend/test" + "github.com/restic/restic/internal/errors" "github.com/restic/restic/internal/restic" . "github.com/restic/restic/internal/test" ) diff --git a/internal/backend/azure/config.go b/internal/backend/azure/config.go index e044ea7aa..9fb76ea4f 100644 --- a/internal/backend/azure/config.go +++ b/internal/backend/azure/config.go @@ -1,10 +1,10 @@ package azure import ( - "errors" "path" "strings" + "github.com/restic/restic/internal/errors" "github.com/restic/restic/internal/options" )