Merge "drop _delete_unaggregated_timeserie"
This commit is contained in:
commit
19eb043a2e
|
@ -157,10 +157,6 @@ class CephStorage(_carbonara.CarbonaraBasedStorage):
|
|||
self.ioctx.write_full(
|
||||
self._build_unaggregated_timeserie_path(metric, version), data)
|
||||
|
||||
def _delete_unaggregated_timeserie(self, metric, version=3):
|
||||
self.ioctx.aio_remove(
|
||||
self._build_unaggregated_timeserie_path(metric, version))
|
||||
|
||||
def _get_object_content(self, name):
|
||||
offset = 0
|
||||
content = b''
|
||||
|
|
|
@ -98,15 +98,6 @@ class FileStorage(_carbonara.CarbonaraBasedStorage):
|
|||
raise storage.MetricDoesNotExist(metric)
|
||||
raise
|
||||
|
||||
def _delete_unaggregated_timeserie(self, metric, version=3):
|
||||
path = self._build_unaggregated_timeserie_path(metric, version)
|
||||
try:
|
||||
os.unlink(path)
|
||||
except IOError as e:
|
||||
if e.errno == errno.ENOENT:
|
||||
raise storage.MetricDoesNotExist(metric)
|
||||
raise
|
||||
|
||||
def _list_split_keys_for_metric(self, metric, aggregation, granularity,
|
||||
version=3):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue