Quellcode durchsuchen

changed arn list to aws_arn

Stefan McShane vor 3 Jahren
Ursprung
Commit
0a4a451803
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      api/server/handlers/project_integration/list_aws.go

+ 2 - 2
api/server/handlers/project_integration/list_aws.go

@@ -30,8 +30,8 @@ func NewListAWSHandler(
 type ListAWSAssumeRoleLink struct {
 type ListAWSAssumeRoleLink struct {
 	// ID is the ID of the assume role chain in the db. UUID as a string
 	// ID is the ID of the assume role chain in the db. UUID as a string
 	ID string `json:"id"`
 	ID string `json:"id"`
-	// ARN is the target ARN in an assume role chain
-	ARN string `json:"arn"`
+	// ARN is the target ARN in an AWS assume role chain
+	ARN string `json:"aws_arn"`
 	// ProjectID is the projec that this link belongs to
 	// ProjectID is the projec that this link belongs to
 	ProjectID int `json:"project_id"`
 	ProjectID int `json:"project_id"`
 }
 }