Skip to content

Commit

Permalink
Fixing nil pointer (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
dginty4 committed May 15, 2024
1 parent 826e108 commit 402e375
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func createIntegration(ctx context.Context, d *schema.ResourceData, meta interfa
}
integration, resp, err := ip.createIntegration(ctx, createIntegrationReq)
if err != nil {
return util.BuildAPIDiagnosticError(resourceName, fmt.Sprintf("Failed to create integration %s error: %s", *createIntegrationReq.Name, err), resp)
return util.BuildAPIDiagnosticError(resourceName, fmt.Sprintf("Failed to create integration error: %s", err), resp)
}

d.SetId(*integration.Id)
Expand Down

0 comments on commit 402e375

Please sign in to comment.