mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 02:45:42 +03:00
Introduces Disconnect block into the TaskGroup configuration (#19886)
This PR is the first on two that will implement the new Disconnect block. In this PR the new block is introduced to be backwards compatible with the fields it will replace. For more information refer to this RFC and this ticket.
This commit is contained in:
committed by
GitHub
parent
e8db588368
commit
20cfbc82d3
4
command/testdata/example-short-bad.json
vendored
4
command/testdata/example-short-bad.json
vendored
@@ -90,6 +90,10 @@
|
||||
"ShutdownDelay": null,
|
||||
"StopAfterClientDisconnect": null,
|
||||
"MaxClientDisconnect": null,
|
||||
"Disconnect":{
|
||||
"StopAfterClient": null,
|
||||
"LostAfter": null
|
||||
},
|
||||
"Scaling": null,
|
||||
"Consul": null
|
||||
}
|
||||
|
||||
1
command/testdata/example-short.json
vendored
1
command/testdata/example-short.json
vendored
@@ -93,6 +93,7 @@
|
||||
"ShutdownDelay": null,
|
||||
"StopAfterClientDisconnect": null,
|
||||
"MaxClientDisconnect": null,
|
||||
"Disconnect": null,
|
||||
"Scaling": null,
|
||||
"Consul": null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user