Skip to content

Commit

Permalink
Container Restart Policy ACS model
Browse files Browse the repository at this point in the history
  • Loading branch information
timj-hh committed May 13, 2024
1 parent 1133dd9 commit b865fa5
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 78 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 2 additions & 12 deletions ecs-agent/acs/model/api/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@
"environmentFiles":{"shape":"EnvironmentFiles"},
"essential":{"shape":"Boolean"},
"restartPolicy":{"shape":"RestartPolicy"},
"restartMaxAttempts":{"shape":"Integer"},
"image":{"shape":"String"},
"links":{"shape":"StringList"},
"memory":{"shape":"Integer"},
Expand All @@ -311,11 +310,10 @@
"startTimeout":{"shape":"Integer"},
"stopTimeout":{"shape":"Integer"},
"firelensConfiguration":{"shape":"FirelensConfiguration"},
"containerArn":{"shape":"String"},
"containerRestartPolicy":{"shape":"ContainerRestartPolicy"}
"containerArn":{"shape":"String"}
}
},
"ContainerRestartPolicy":{
"RestartPolicy":{
"type":"structure",
"members":{
"enabled":{"shape":"Boolean"},
Expand Down Expand Up @@ -796,14 +794,6 @@
"asmAuthData":{"shape":"ASMAuthData"}
}
},
"RestartPolicy":{
"type":"string",
"enum":[
"NEVER",
"UNLESS_TASK_STOPPED",
"ON_FAILURE"
]
},
"RoleType":{
"type":"string",
"enum":[
Expand Down
62 changes: 29 additions & 33 deletions ecs-agent/acs/model/ecsacs/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b865fa5

Please sign in to comment.