Commit c9edde45 authored by Alain Takoudjou's avatar Alain Takoudjou

slapgrid: send partition state if access status is None

parent 0b479327
...@@ -916,11 +916,11 @@ stderr_logfile_backups=1 ...@@ -916,11 +916,11 @@ stderr_logfile_backups=1
check_anomaly=True, check_anomaly=True,
force=False) force=False)
except PromiseError, e: except PromiseError, e:
if not status_error:
self.logger.error(e) self.logger.error(e)
if partition_access_status is None or not status_error:
computer_partition.error(e, logger=self.logger) computer_partition.error(e, logger=self.logger)
else: else:
if status_error: if partition_access_status is None or status_error:
computer_partition.started() computer_partition.started()
def processComputerPartition(self, computer_partition): def processComputerPartition(self, computer_partition):
......
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 to comment