Commit 2b355902 by Dudás Ádám

storage: rename manager import

parent 0988e858
...@@ -6,7 +6,7 @@ from django.utils.translation import ugettext_lazy as _ ...@@ -6,7 +6,7 @@ from django.utils.translation import ugettext_lazy as _
from django.db.models.signals import post_delete from django.db.models.signals import post_delete
from model_utils.models import TimeStampedModel from model_utils.models import TimeStampedModel
from manager import storage import manager.storage
from . import tasks from . import tasks
...@@ -99,7 +99,7 @@ class Disk(TimeStampedModel): ...@@ -99,7 +99,7 @@ class Disk(TimeStampedModel):
return u"%s (#%d)" % (self.name, self.id) return u"%s (#%d)" % (self.name, self.id)
def deploy_async(self): def deploy_async(self):
storage.deploy.apply_async(self) manager.storage.deploy.apply_async(self)
def deploy(self): def deploy(self):
if self.ready: if self.ready:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment