From 5dceca7e3cb19da2b4f1d7d1d88604e0172d7e61 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Sat, 21 Sep 2024 09:43:55 +0800 Subject: [PATCH] samples, use goimport 0.24 (#9020) --- tools/azure-rest-api-specs-examples-automation/go/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/azure-rest-api-specs-examples-automation/go/validate.py b/tools/azure-rest-api-specs-examples-automation/go/validate.py index 1c17a349b58..397fac30e66 100644 --- a/tools/azure-rest-api-specs-examples-automation/go/validate.py +++ b/tools/azure-rest-api-specs-examples-automation/go/validate.py @@ -79,7 +79,7 @@ def vet(self) -> GoVetResult: logging.info("Run goimports") # goimports - cmd = ["go", "install", "golang.org/x/tools/cmd/goimports@latest"] + cmd = ["go", "install", "golang.org/x/tools/cmd/goimports@v0.24.0"] check_call(cmd, tmp_dir_name) cmd = ["goimports", "-w", "."]