From 4c89292887c08a9aa116896aa04c7d64a1dc5a22 Mon Sep 17 00:00:00 2001 From: Gleb Kanterov Date: Wed, 8 Jan 2025 17:39:17 +0100 Subject: [PATCH] Fix more lint --- bundle/config/mutator/python/python_mutator.go | 2 -- bundle/config/mutator/python/python_mutator_test.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bundle/config/mutator/python/python_mutator.go b/bundle/config/mutator/python/python_mutator.go index 2f9229845..563ce89da 100644 --- a/bundle/config/mutator/python/python_mutator.go +++ b/bundle/config/mutator/python/python_mutator.go @@ -15,8 +15,6 @@ import ( "github.com/databricks/cli/bundle/config/mutator/paths" - "github.com/databricks/cli/bundle/config/mutator/paths" - "github.com/databricks/databricks-sdk-go/logger" "github.com/fatih/color" diff --git a/bundle/config/mutator/python/python_mutator_test.go b/bundle/config/mutator/python/python_mutator_test.go index 29e63364f..322fb79e8 100644 --- a/bundle/config/mutator/python/python_mutator_test.go +++ b/bundle/config/mutator/python/python_mutator_test.go @@ -730,7 +730,7 @@ func withProcessStub(t *testing.T, args []string, output, diagnostics, locations } func getArg(args []string, name string) string { - for i := range len(args) { + for i := range args { if args[i] == name { return args[i+1] }