]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Improve the deprecated message about DEFAULT.root_helper
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Tue, 9 Apr 2013 10:15:46 +0000 (19:15 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Tue, 9 Apr 2013 10:15:46 +0000 (19:15 +0900)
bug #1166706

Change-Id: Ic90fefefc0c3339cbc876e4402b6d6c5aa841c47

quantum/agent/common/config.py

index a3263b5e9444cf2c54bb133de5b5d0d461b45feb..691ff1ecd4790a9662d6359999955f169aa0e761 100644 (file)
@@ -75,7 +75,8 @@ def get_root_helper(conf):
 
     root_helper = conf.root_helper
     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 'sudo'