mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 19:28:59 +00:00
Merge pull request #1069 from balena-io/fix-step-name
Correctly generate network or volume creation steps
This commit is contained in:
commit
aea9362abd
@ -422,7 +422,8 @@ module.exports = class ApplicationManager extends EventEmitter
|
||||
steps.push(serviceAction('kill', dependency.serviceId, dependency))
|
||||
return steps
|
||||
else if target?
|
||||
return [{ action: 'createNetworkOrVolume', model, target }]
|
||||
action = if model is 'network' then 'createNetwork' else 'createVolume'
|
||||
return [{ action, target }]
|
||||
|
||||
_nextStepsForNetwork: ({ current, target }, currentApp, changingPairs) =>
|
||||
dependencyComparisonFn = (service, current) ->
|
||||
|
Loading…
Reference in New Issue
Block a user