Merge "Fix LOG.warn to LOG.warning" into stable/newton

This commit is contained in:
Jenkins 2017-03-09 11:26:17 +00:00 committed by Gerrit Code Review
commit bb9ece4266
1 changed files with 3 additions and 3 deletions

View File

@ -306,9 +306,9 @@ class Nailgun(base.BaseDataDriver):
try:
user_accounts = self.data['ks_meta']['user_accounts']
except KeyError:
LOG.warn(('This environment does not support non-root accounts '
'on the target nodes. Non-root user accounts will not '
'be created'))
LOG.warning(('This environment does not support non-root accounts '
'on the target nodes. Non-root user accounts will '
'not be created'))
user_accounts = []
for account in user_accounts: