rename resource to pithos+.diskspace
authorroot <gtsouk@cslab.ece.ntua.gr>
Fri, 21 Sep 2012 10:01:48 +0000 (13:01 +0300)
committerroot <gtsouk@cslab.ece.ntua.gr>
Fri, 9 Nov 2012 09:02:17 +0000 (11:02 +0200)
snf-pithos-backend/pithos/backends/modular.py

index 5284d53..8956ecc 100644 (file)
@@ -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)