From e002ded0135e695f1f881951ab6ca454d56c5b8b Mon Sep 17 00:00:00 2001 From: Ioan Damian Date: Thu, 12 Sep 2024 09:12:18 +0200 Subject: [PATCH] Try to fix golangci-lint errors --- internal/awx/resource_job_template_launch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/awx/resource_job_template_launch.go b/internal/awx/resource_job_template_launch.go index b0df6f6a..749a633d 100644 --- a/internal/awx/resource_job_template_launch.go +++ b/internal/awx/resource_job_template_launch.go @@ -131,7 +131,7 @@ func resourceJobTemplateLaunchCreate(ctx context.Context, d *schema.ResourceData if err != nil { 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()), + fmt.Sprintf("JobTemplateLaunch with ID %d and template ID %d, failed to complete %s", res.ID, d.Get("job_template_id").(int), String(err.Error())), ) } }