From 85867d64a335a021eadda0f3057ab7c9df222628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Sipma?= Date: Thu, 8 Feb 2024 19:30:36 +0100 Subject: disable azure Last-Update: 2023-10-23 Forwarded: not-needed Gbp-Pq: Name 0002-disable-azure.patch --- cmd/restic/global.go | 2 -- go.mod | 5 ----- 2 files changed, 7 deletions(-) diff --git a/cmd/restic/global.go b/cmd/restic/global.go index e979dcc2b..0017cf80f 100644 --- a/cmd/restic/global.go +++ b/cmd/restic/global.go @@ -13,7 +13,6 @@ import ( "time" "github.com/restic/restic/internal/backend" - "github.com/restic/restic/internal/backend/azure" "github.com/restic/restic/internal/backend/b2" "github.com/restic/restic/internal/backend/gs" "github.com/restic/restic/internal/backend/limiter" @@ -101,7 +100,6 @@ var internalGlobalCtx context.Context func init() { backends := location.NewRegistry() - backends.Register(azure.NewFactory()) backends.Register(b2.NewFactory()) backends.Register(gs.NewFactory()) backends.Register(local.NewFactory()) diff --git a/go.mod b/go.mod index 970770a90..5cd89a51b 100644 --- a/go.mod +++ b/go.mod @@ -2,9 +2,6 @@ module github.com/restic/restic require ( cloud.google.com/go/storage v1.34.0 - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.0 github.com/Backblaze/blazer v0.6.1 github.com/anacrolix/fuse v0.2.0 github.com/cenkalti/backoff/v4 v4.2.1 @@ -43,8 +40,6 @@ require ( cloud.google.com/go/compute v1.23.1 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.3 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/felixge/fgprof v0.9.3 // indirect -- cgit v1.2.3