Skip to content

Commit

Permalink
Fix golangci-lint 'unparam'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Sep 25, 2023
1 parent a0693f0 commit 8361bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/opensearch/inbound_connection_accepter.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func statusInboundConnection(ctx context.Context, conn *opensearchservice.OpenSe
}
}

func waitInboundConnectionAccepted(ctx context.Context, conn *opensearchservice.OpenSearchService, id string, timeout time.Duration) (*opensearchservice.InboundConnection, error) {
func waitInboundConnectionAccepted(ctx context.Context, conn *opensearchservice.OpenSearchService, id string, timeout time.Duration) (*opensearchservice.InboundConnection, error) { //nolint:unparam
stateConf := &retry.StateChangeConf{
Pending: []string{opensearchservice.InboundConnectionStatusCodeProvisioning, opensearchservice.InboundConnectionStatusCodeApproved},
Target: []string{opensearchservice.InboundConnectionStatusCodeActive},
Expand Down

0 comments on commit 8361bb1

Please sign in to comment.