• Julien Muchembled's avatar
    admin: fix crash if not operational and a downstream cluster is RUNNING · 7f81ac2d
    Julien Muchembled authored
    Traceback (most recent call last):
      ...
      File ".../neo/lib/handler.py", line 75, in dispatch
        method(conn, *args, **kw)
      File ".../neo/admin/handler.py", line 174, in wrapper
        return func(self, name, *args, **kw)
      File ".../neo/admin/handler.py", line 190, in notifyMonitorInformation
        self.app.updateMonitorInformation(name, **info)
      File ".../neo/admin/app.py", line 290, in updateMonitorInformation
        self._notify(self.operational)
      File ".../neo/admin/app.py", line 315, in _notify
        body += '', name, '    ' + backup.formatSummary(upstream)[1]
      File ".../neo/admin/app.py", line 83, in formatSummary
        tid = self.ltid
    AttributeError: 'Backup' object has no attribute 'ltid'
    7f81ac2d
app.py 15.4 KB