Skip to content

Commit

Permalink
internal/provider/connection: fix lint warning (#180)
Browse files Browse the repository at this point in the history
Fixes #179.
  • Loading branch information
rjeczalik authored Jan 14, 2025
1 parent b1b4057 commit 79f4e54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
gofmt-flags: '-l -d'
- uses: golangci/golangci-lint-action@v6
with:
version: v1.56.2
version: v1.62.2
- run: go test -v -race ./...
test-build:
strategy:
Expand Down
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 79f4e54

Please sign in to comment.