mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix call to _get_repo_options()
Had forgotten to pass fromrepo along with the kwargs dict
This commit is contained in:
parent
4e4e240c5e
commit
e144df7d30
@ -79,7 +79,7 @@ def _get_repo_options(**kwargs):
|
||||
|
||||
repo_arg = ''
|
||||
if fromrepo:
|
||||
log.info('Restricting install to repo "{0}"'.format(fromrepo))
|
||||
log.info('Restricting to repo "{0}"'.format(fromrepo))
|
||||
repo_arg = '--disablerepo="*" --enablerepo="{0}"'.format(fromrepo)
|
||||
else:
|
||||
repo_arg = ''
|
||||
@ -316,7 +316,7 @@ def install(name=None,
|
||||
log.warning('"version" parameter will be ignored for muliple '
|
||||
'package targets')
|
||||
|
||||
repo_arg = _get_repo_options(**kwargs)
|
||||
repo_arg = _get_repo_options(fromrepo=fromrepo, **kwargs)
|
||||
|
||||
old = list_pkgs()
|
||||
downgrade = []
|
||||
|
Loading…
Reference in New Issue
Block a user