Skip to content

Commit

Permalink
rename arn to roleArn
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoandredinis committed Oct 22, 2024
1 parent 37a0cd1 commit f379a41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/web/integrations_awsoidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ func (h *Handler) awsOIDCPing(w http.ResponseWriter, r *http.Request, p httprout

pingResp, err := clt.IntegrationAWSOIDCClient().Ping(ctx, &integrationv1.PingRequest{
Integration: integrationName,
Arn: req.ARN,
Arn: req.RoleARN,
})
if err != nil {
return nil, trace.Wrap(err)
Expand Down
4 changes: 2 additions & 2 deletions lib/web/ui/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ type AWSOIDCPingResponse struct {

// AWSOIDCPingRequest contains ping request fields.
type AWSOIDCPingRequest struct {
// ARN is optional, and used for cases such as
// RoleARN is optional, and used for cases such as
// pinging to check validity before upserting an
// AWS OIDC integration.
ARN string `json:"arn,omitempty"`
RoleARN string `json:"roleArn,omitempty"`
}

0 comments on commit f379a41

Please sign in to comment.