Skip to content

Commit

Permalink
[ReleasePR containerinstance] ACI: Correct the type of httpHeaders ob…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] authored May 27, 2022
2 parents c737889 + 9c600b5 commit b3d546e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions schemas/2020-11-01/Microsoft.ContainerInstance.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,10 @@
"httpHeaders": {
"oneOf": [
{
"$ref": "#/definitions/HttpHeaders"
"type": "array",
"items": {
"$ref": "#/definitions/HttpHeader"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -796,7 +799,7 @@
],
"description": "The GPU resource."
},
"HttpHeaders": {
"HttpHeader": {
"type": "object",
"properties": {
"name": {
Expand All @@ -808,7 +811,7 @@
"description": "The header value."
}
},
"description": "The HTTP headers."
"description": "The HTTP header."
},
"ImageRegistryCredential": {
"type": "object",
Expand Down
9 changes: 6 additions & 3 deletions schemas/2021-03-01/Microsoft.ContainerInstance.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,10 @@
"httpHeaders": {
"oneOf": [
{
"$ref": "#/definitions/HttpHeaders"
"type": "array",
"items": {
"$ref": "#/definitions/HttpHeader"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -796,7 +799,7 @@
],
"description": "The GPU resource."
},
"HttpHeaders": {
"HttpHeader": {
"type": "object",
"properties": {
"name": {
Expand All @@ -808,7 +811,7 @@
"description": "The header value."
}
},
"description": "The HTTP headers."
"description": "The HTTP header"
},
"ImageRegistryCredential": {
"type": "object",
Expand Down

0 comments on commit b3d546e

Please sign in to comment.