From b0399b51abbe45e8d6849234c197daca24adfffa Mon Sep 17 00:00:00 2001 From: davidvader Date: Mon, 19 Aug 2024 12:32:38 -0500 Subject: [PATCH] fix: lint --- cmd/vela-terraform/plan_test.go | 2 +- cmd/vela-terraform/validate_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/vela-terraform/plan_test.go b/cmd/vela-terraform/plan_test.go index aad5340..c02e987 100644 --- a/cmd/vela-terraform/plan_test.go +++ b/cmd/vela-terraform/plan_test.go @@ -105,7 +105,7 @@ func TestTerraform_Plan_Command_tf13(t *testing.T) { fmt.Sprintf("-var=%s", p.Vars[1]), fmt.Sprintf("-var-file=%s", p.VarFiles[0]), fmt.Sprintf("-var-file=%s", p.VarFiles[1]), - fmt.Sprintf(p.Directory), + fmt.Sprint(p.Directory), ) got := p.Command() diff --git a/cmd/vela-terraform/validate_test.go b/cmd/vela-terraform/validate_test.go index 156a699..30897b4 100644 --- a/cmd/vela-terraform/validate_test.go +++ b/cmd/vela-terraform/validate_test.go @@ -64,7 +64,7 @@ func TestTerraform_Validation_Command_tf13(t *testing.T) { fmt.Sprintf("-var=%s", v.Vars[1]), fmt.Sprintf("-var-file=%s", v.VarFiles[0]), fmt.Sprintf("-var-file=%s", v.VarFiles[1]), - fmt.Sprintf(v.Directory), + fmt.Sprint(v.Directory), ) got := v.Command()