From fa86a6ef2de0f20b689b121af1d80a53ce2ebc6a Mon Sep 17 00:00:00 2001 From: Ioan Damian Date: Thu, 12 Sep 2024 16:30:32 +0200 Subject: [PATCH] Fix golangci-lint issues --- internal/awx/resource_job_template_launch.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/awx/resource_job_template_launch.go b/internal/awx/resource_job_template_launch.go index c4aa9710..bc9c9eb6 100644 --- a/internal/awx/resource_job_template_launch.go +++ b/internal/awx/resource_job_template_launch.go @@ -3,7 +3,6 @@ package awx import ( "context" "encoding/json" - "fmt" "strconv" "time" @@ -129,10 +128,9 @@ func resourceJobTemplateLaunchCreate(ctx context.Context, d *schema.ResourceData if d.Get("wait_for_completion").(bool) { err = jobTemplateLaunchWait(ctx, client.JobService, res, d.Timeout(schema.TimeoutCreate)) if err != nil { - //nolint:govet return utils.Diagf( "JobTemplate execution failure", - fmt.Sprintf("JobTemplateLaunch with ID %d and template ID %d, failed to complete %s", res.ID, d.Get("job_template_id").(int), err.Error()), + "JobTemplateLaunch with ID %d and template ID %d, failed to complete %s", res.ID, d.Get("job_template_id").(int), err.Error(), ) } }