X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=accounts.py;fp=accounts.py;h=2f3bb329f6c9095246e0a02a8b0e2526c3ef854c;hb=610ad5a25d5338c8318bf06a5c63a35da1f9e33a;hp=74afcffe90d06e0138d503d2017cccd8755c64bf;hpb=d1552b528aeb84744bc44b256091dc029051d1c3;p=nodemanager.git diff --git a/accounts.py b/accounts.py index 74afcff..2f3bb32 100644 --- a/accounts.py +++ b/accounts.py @@ -137,7 +137,7 @@ If still valid, check if running and configure/start if not.""" if next_class != curr_class: self._destroy(curr_class) create_sem.acquire() - try: next_class.create(self.name, rec['vref']) + try: next_class.create(self.name, rec) finally: create_sem.release() if not isinstance(self._acct, next_class): self._acct = next_class(rec) logger.verbose("accounts.ensure_created: %s, running=%r"%(self.name,self.is_running()))