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:
parent
46765aa39d
commit
d4d1fa6bcb
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue