mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
revert unrelated change
This commit is contained in:
parent
3bf25dd104
commit
75a3c166ad
@ -672,10 +672,7 @@ def bootstrap_container(name, dist=None, version=None):
|
||||
'nspawn.bootstrap: no dist provided, defaulting to \'{0}\''
|
||||
.format(dist)
|
||||
)
|
||||
try:
|
||||
return globals()['_bootstrap_{0}'.format(dist)](name, version=version)
|
||||
except KeyError:
|
||||
raise CommandExecutionError('Unsupported distribution "{0}"'.format(dist))
|
||||
return globals()['_bootstrap_{0}'.format(dist)](name, version=version)
|
||||
|
||||
|
||||
def _needs_install(name):
|
||||
|
Loading…
Reference in New Issue
Block a user