Improve the deprecated message about DEFAULT.root_helper
bug #1166706 Change-Id: Ic90fefefc0c3339cbc876e4402b6d6c5aa841c47
This commit is contained in:
parent
23a99acc06
commit
e9547131eb
@ -75,7 +75,8 @@ def get_root_helper(conf):
|
|||||||
|
|
||||||
root_helper = conf.root_helper
|
root_helper = conf.root_helper
|
||||||
if root_helper is not 'sudo':
|
if root_helper is not 'sudo':
|
||||||
LOG.deprecated(_('DEFAULT.root_helper is deprecated!'))
|
LOG.deprecated(_('DEFAULT.root_helper is deprecated! Please move '
|
||||||
|
'root_helper configuration to [AGENT] section.'))
|
||||||
return root_helper
|
return root_helper
|
||||||
|
|
||||||
return 'sudo'
|
return 'sudo'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user