From 90311d9858e100e464064a56ab105af70a823172 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Sep 2012 13:01:48 +0300 Subject: [PATCH 1/1] rename resource to pithos+.diskspace --- snf-pithos-backend/pithos/backends/modular.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snf-pithos-backend/pithos/backends/modular.py b/snf-pithos-backend/pithos/backends/modular.py index 5284d53..8956ecc 100644 --- a/snf-pithos-backend/pithos/backends/modular.py +++ b/snf-pithos-backend/pithos/backends/modular.py @@ -1256,7 +1256,8 @@ class ModularBackend(BaseBackend): key = '1', clientkey = 'pithos', ownerkey = '', - provisions = (('pithos+', 'pithos+ : diskspace', size),) + name = details['path'] if 'path' in details else '', + provisions = (('pithos+', 'pithos+.diskspace', size),) ) self.serials.append(serial) -- 1.7.10.4