From 35d831fc10b78a31f66a7600d373f89c7f9d6914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=BCrzeder?= Date: Fri, 3 Sep 2021 19:27:10 +0200 Subject: [PATCH] Move go-autorest lib under azure scope --- go.mod | 8 +++----- libs/{ => @azure}/go-autorest/azure/cli/go.mod | 0 libs/{ => @azure}/go-autorest/azure/cli/go.sum | 0 .../go-autorest/azure/cli/go_mod_tidy_hack.go | 0 libs/{ => @azure}/go-autorest/azure/cli/profile.go | 0 libs/{ => @azure}/go-autorest/azure/cli/token.go | 0 6 files changed, 3 insertions(+), 5 deletions(-) rename libs/{ => @azure}/go-autorest/azure/cli/go.mod (100%) rename libs/{ => @azure}/go-autorest/azure/cli/go.sum (100%) rename libs/{ => @azure}/go-autorest/azure/cli/go_mod_tidy_hack.go (100%) rename libs/{ => @azure}/go-autorest/azure/cli/profile.go (100%) rename libs/{ => @azure}/go-autorest/azure/cli/token.go (100%) diff --git a/go.mod b/go.mod index 75d5681..4054fb3 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/Azure/go-autorest/autorest v0.11.20 github.com/Azure/go-autorest/autorest/adal v0.9.15 github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 - github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/caarlos0/env v3.5.0+incompatible @@ -19,7 +19,5 @@ require ( golang.org/x/sys v0.0.0-20210903071746-97244b99971b // indirect ) -replace ( - // Temporary fix until https://github.com/Azure/go-autorest/pull/653 is merged. - github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 => ./libs/go-autorest/azure/cli -) \ No newline at end of file +// Temporary fix until https://github.com/Azure/go-autorest/pull/653 is merged. +replace github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 => ./libs/@azure/go-autorest/azure/cli diff --git a/libs/go-autorest/azure/cli/go.mod b/libs/@azure/go-autorest/azure/cli/go.mod similarity index 100% rename from libs/go-autorest/azure/cli/go.mod rename to libs/@azure/go-autorest/azure/cli/go.mod diff --git a/libs/go-autorest/azure/cli/go.sum b/libs/@azure/go-autorest/azure/cli/go.sum similarity index 100% rename from libs/go-autorest/azure/cli/go.sum rename to libs/@azure/go-autorest/azure/cli/go.sum diff --git a/libs/go-autorest/azure/cli/go_mod_tidy_hack.go b/libs/@azure/go-autorest/azure/cli/go_mod_tidy_hack.go similarity index 100% rename from libs/go-autorest/azure/cli/go_mod_tidy_hack.go rename to libs/@azure/go-autorest/azure/cli/go_mod_tidy_hack.go diff --git a/libs/go-autorest/azure/cli/profile.go b/libs/@azure/go-autorest/azure/cli/profile.go similarity index 100% rename from libs/go-autorest/azure/cli/profile.go rename to libs/@azure/go-autorest/azure/cli/profile.go diff --git a/libs/go-autorest/azure/cli/token.go b/libs/@azure/go-autorest/azure/cli/token.go similarity index 100% rename from libs/go-autorest/azure/cli/token.go rename to libs/@azure/go-autorest/azure/cli/token.go