Add lb_facts updating logic after DecortController.lb_restore method call in decort_lb.action method

rc-5.3.0^2
Dmitriy Smirnov 11 months ago
parent 6d003e4541
commit a6a6954d46

@ -133,6 +133,7 @@ class decort_lb(DecortController):
def action(self,d_state='',restore=False):
if restore == True:
self.lb_restore(lb_id=self.lb_id)
_, self.lb_facts = self._lb_get_by_id(lb_id=self.lb_id)
self.lb_state(self.lb_facts, 'enabled')
self.lb_facts['status'] = "ENABLED"
self.lb_facts['techStatus'] = "STARTED"

Loading…
Cancel
Save