From 2803ccb9f3f9e60bf5a6eda5e6179dd0d4bf8cf0 Mon Sep 17 00:00:00 2001 From: Chenjie Shi Date: Thu, 14 Apr 2022 17:28:53 +0800 Subject: [PATCH] fix: update to 1.18 go compile tag (#17589) --- sdk/resourcemanager/internal/testutil/credential.go | 4 ++-- sdk/resourcemanager/internal/testutil/credential_test.go | 4 ++-- sdk/resourcemanager/internal/testutil/helper.go | 4 ++-- sdk/resourcemanager/internal/testutil/helper_test.go | 4 ++-- sdk/resourcemanager/internal/testutil/recording.go | 4 ++-- sdk/resourcemanager/internal/testutil/recording_test.go | 4 ++-- sdk/resourcemanager/internal/testutil/testsuite_test.go | 4 ++-- sdk/resourcemanager/internal/version.go | 4 ++-- .../ze_generated_example_deployments_client_test.go | 4 ++-- .../ze_generated_example_providerresourcetypes_client_test.go | 4 ++-- .../ze_generated_example_providers_client_test.go | 4 ++-- .../ze_generated_example_resourcegroups_client_test.go | 4 ++-- .../armresources/ze_generated_example_tags_client_test.go | 4 ++-- .../resources/armsubscriptions/zt_tenants_client_live_test.go | 4 ++-- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/sdk/resourcemanager/internal/testutil/credential.go b/sdk/resourcemanager/internal/testutil/credential.go index 2e62f1899b83..3e112acc49f2 100644 --- a/sdk/resourcemanager/internal/testutil/credential.go +++ b/sdk/resourcemanager/internal/testutil/credential.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/testutil/credential_test.go b/sdk/resourcemanager/internal/testutil/credential_test.go index a1f0d3ff4dd7..7720b466098e 100644 --- a/sdk/resourcemanager/internal/testutil/credential_test.go +++ b/sdk/resourcemanager/internal/testutil/credential_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/testutil/helper.go b/sdk/resourcemanager/internal/testutil/helper.go index f6aa16956341..3e300a2090c3 100644 --- a/sdk/resourcemanager/internal/testutil/helper.go +++ b/sdk/resourcemanager/internal/testutil/helper.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/testutil/helper_test.go b/sdk/resourcemanager/internal/testutil/helper_test.go index 41c4cc8a7dbf..8f118f6ca19d 100644 --- a/sdk/resourcemanager/internal/testutil/helper_test.go +++ b/sdk/resourcemanager/internal/testutil/helper_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/testutil/recording.go b/sdk/resourcemanager/internal/testutil/recording.go index 3555b470e7aa..18f90361cc50 100644 --- a/sdk/resourcemanager/internal/testutil/recording.go +++ b/sdk/resourcemanager/internal/testutil/recording.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/testutil/recording_test.go b/sdk/resourcemanager/internal/testutil/recording_test.go index 823caa8fe472..309e2c888e02 100644 --- a/sdk/resourcemanager/internal/testutil/recording_test.go +++ b/sdk/resourcemanager/internal/testutil/recording_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/testutil/testsuite_test.go b/sdk/resourcemanager/internal/testutil/testsuite_test.go index ae670e672a79..457a4b539850 100644 --- a/sdk/resourcemanager/internal/testutil/testsuite_test.go +++ b/sdk/resourcemanager/internal/testutil/testsuite_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/internal/version.go b/sdk/resourcemanager/internal/version.go index 6fabeb590daf..b009bc832670 100644 --- a/sdk/resourcemanager/internal/version.go +++ b/sdk/resourcemanager/internal/version.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. diff --git a/sdk/resourcemanager/resources/armresources/ze_generated_example_deployments_client_test.go b/sdk/resourcemanager/resources/armresources/ze_generated_example_deployments_client_test.go index e06c666f1945..2411a319d1d8 100644 --- a/sdk/resourcemanager/resources/armresources/ze_generated_example_deployments_client_test.go +++ b/sdk/resourcemanager/resources/armresources/ze_generated_example_deployments_client_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/resources/armresources/ze_generated_example_providerresourcetypes_client_test.go b/sdk/resourcemanager/resources/armresources/ze_generated_example_providerresourcetypes_client_test.go index b9518121e055..c757ca010190 100644 --- a/sdk/resourcemanager/resources/armresources/ze_generated_example_providerresourcetypes_client_test.go +++ b/sdk/resourcemanager/resources/armresources/ze_generated_example_providerresourcetypes_client_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/resources/armresources/ze_generated_example_providers_client_test.go b/sdk/resourcemanager/resources/armresources/ze_generated_example_providers_client_test.go index c930d323a925..aae5ae150335 100644 --- a/sdk/resourcemanager/resources/armresources/ze_generated_example_providers_client_test.go +++ b/sdk/resourcemanager/resources/armresources/ze_generated_example_providers_client_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/resources/armresources/ze_generated_example_resourcegroups_client_test.go b/sdk/resourcemanager/resources/armresources/ze_generated_example_resourcegroups_client_test.go index 1523e97c3292..1cb054569049 100644 --- a/sdk/resourcemanager/resources/armresources/ze_generated_example_resourcegroups_client_test.go +++ b/sdk/resourcemanager/resources/armresources/ze_generated_example_resourcegroups_client_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/resources/armresources/ze_generated_example_tags_client_test.go b/sdk/resourcemanager/resources/armresources/ze_generated_example_tags_client_test.go index 9350a8f7dad9..9f535f985b2d 100644 --- a/sdk/resourcemanager/resources/armresources/ze_generated_example_tags_client_test.go +++ b/sdk/resourcemanager/resources/armresources/ze_generated_example_tags_client_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. diff --git a/sdk/resourcemanager/resources/armsubscriptions/zt_tenants_client_live_test.go b/sdk/resourcemanager/resources/armsubscriptions/zt_tenants_client_live_test.go index 831926d1288f..ecbb677327ba 100644 --- a/sdk/resourcemanager/resources/armsubscriptions/zt_tenants_client_live_test.go +++ b/sdk/resourcemanager/resources/armsubscriptions/zt_tenants_client_live_test.go @@ -1,5 +1,5 @@ -//go:build go1.16 -// +build go1.16 +//go:build go1.18 +// +build go1.18 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information.