From c9394e43d79447ec6c17069ef627e59f66421708 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Sat, 25 Jun 2022 08:02:27 +0200 Subject: [PATCH] tooling: updating the track2 check to callout go-azure-sdk --- scripts/track2-check.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/track2-check.sh b/scripts/track2-check.sh index 65807a53f10e..d35a0fa40403 100755 --- a/scripts/track2-check.sh +++ b/scripts/track2-check.sh @@ -16,9 +16,10 @@ function checkForAzCoreUsages { echo "the Azure SDK for Go - or another Azure SDK library." echo "" echo "Rather than importing an SDK which has a reliance on the Track2" - echo "libraries, please use the Azure SDK for Go Track1 SDK at this time" - echo "or reach out to the Terraform Azure Provider Team if a Track1" - echo "SDK isn't available and we can add one in the interim." + echo "libraries, please use either github.com/hashicorp/go-azure-sdk" + echo "(please open an issue on that repository if you need a" + echo "Service/API Version which isn't supported) - or the 'Track1'" + echo "Azure SDK for Go." exit 1 fi } @@ -39,9 +40,10 @@ function checkForAzIdentityUsages { echo "the Azure SDK for Go - or another Azure SDK library." echo "" echo "Rather than importing an SDK which has a reliance on the Track2" - echo "libraries, please use the Azure SDK for Go Track1 SDK at this time" - echo "or reach out to the Terraform Azure Provider Team if a Track1" - echo "SDK isn't available and we can add one in the interim." + echo "libraries, please use either github.com/hashicorp/go-azure-sdk" + echo "(please open an issue on that repository if you need a" + echo "Service/API Version which isn't supported) - or the 'Track1'" + echo "Azure SDK for Go." exit 1 fi }