Fix typo in apt error message: update-cache -> update_cache

The apt parameter changed from update-cache to update_cache, but
the error message still mentioned update-cache
reviewable/pr18780/r1
Lorin Hochstein 13 years ago
parent 948e357766
commit 481a1916e0

2
apt

@ -128,7 +128,7 @@ def main():
p = module.params p = module.params
if p['package'] is None and p['update_cache'] != 'yes': if p['package'] is None and p['update_cache'] != 'yes':
module.fail_json(msg='pkg=name and/or update-cache=yes is required') module.fail_json(msg='pkg=name and/or update_cache=yes is required')
install_recommends = (p['install_recommends'] == 'yes') install_recommends = (p['install_recommends'] == 'yes')

Loading…
Cancel
Save