Skip to content

Commit

Permalink
internal/provider/connection: fix lint warning
Browse files Browse the repository at this point in the history
Fixes #179.
  • Loading branch information
rjeczalik committed Dec 12, 2024
1 parent 88fda04 commit 9d85790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/connection/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func resourceClusterConnectionCreate(ctx context.Context, d *schema.ResourceData
d.SetId(strconv.FormatInt(conn.ID, 10))
err = waitForClusterConnection(ctx, c, int64(clusterID), conn.ID, "ACTIVE")
if err != nil {
return diag.Errorf(err.Error())
return diag.Errorf("%+v", err)
}
conn, err = c.GetClusterConnection(ctx, int64(clusterID), conn.ID)
if err != nil {
Expand Down Expand Up @@ -283,7 +283,7 @@ func resourceClusterConnectionUpdate(ctx context.Context, d *schema.ResourceData
}
err = waitForClusterConnection(ctx, c, int64(clusterID), connID, req.Status)
if err != nil {
return diag.Errorf(err.Error())
return diag.Errorf("%+v", err)
}

conn, err := c.GetClusterConnection(ctx, int64(clusterID), connID)
Expand Down

0 comments on commit 9d85790

Please sign in to comment.