Replace deprecated LOG.warn with LOG.warning

LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: I7d3f2cbd50ff5efd747696c3581bb8418ada3bb3
Closes-Bug:#1508442
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-03-11 13:02:03 +05:30
parent 46765aa39d
commit d4d1fa6bcb
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ class CarbonaraBasedStorage(storage.StorageDriver):
break
except storage.AggregationDoesNotExist:
# This should not happen, but you never know.
LOG.warn(
LOG.warning(
"Metric %s does not have an archive "
"for aggregation %s, "
"no migration can be done" % (metric, agg_method))