mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
fix(service-details): fix an issue with invalid service restart policy (#1415)
This commit is contained in:
parent
e51246ee78
commit
13d8d38bf9
6 changed files with 20 additions and 13 deletions
|
@ -243,7 +243,7 @@ function ($q, $scope, $state, $timeout, Service, ServiceHelper, ConfigService, C
|
|||
function prepareUpdateConfig(config, input) {
|
||||
config.UpdateConfig = {
|
||||
Parallelism: input.Parallelism || 0,
|
||||
Delay: input.UpdateDelay || 0,
|
||||
Delay: input.UpdateDelay * 1000000000 || 0,
|
||||
FailureAction: input.FailureAction,
|
||||
Order: input.UpdateOrder
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue