Removed use of deprecated LOG.warn method
LOG.warn is deprecated. We were still used it some places. So I replaced the LOG.warn method to LOG.warning, which is not deprecated. Change-Id: I9461cec569445ad6c40db9ce2feeeba1ef0af0e3 Closes-Bug: #1508442
This commit is contained in:
@@ -72,7 +72,7 @@ class Mapping(object):
|
||||
# remove vm
|
||||
self.mapping_vm.pop(vm_uuid)
|
||||
else:
|
||||
LOG.warn(
|
||||
LOG.warning(
|
||||
"trying to delete the virtual machine {0} but it was not "
|
||||
"found on hypervisor {1}".format(
|
||||
vm_uuid, node_uuid))
|
||||
|
||||
Reference in New Issue
Block a user