rename resource to pithos+.diskspace
[pithos] / 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)