Skip to content

Commit

Permalink
Try to fix golangci-lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioan Damian committed Sep 12, 2024
1 parent a3347e6 commit e002ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/awx/resource_job_template_launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())),

Check failure on line 134 in internal/awx/resource_job_template_launch.go

View workflow job for this annotation

GitHub Actions / Build

undefined: String

Check failure on line 134 in internal/awx/resource_job_template_launch.go

View workflow job for this annotation

GitHub Actions / generate

undefined: String
)
}
}
Expand Down

0 comments on commit e002ded

Please sign in to comment.