Browse Source

fix notifications.py

fix ops.tasks.check_server_performance_period AttributeError: type object 'Status' has no attribute 'get_terminal_latest_stat'
pull/10151/head^2
wulabing 2 years ago committed by Jiangjie.Bai
parent
commit
cec176cc33
  1. 3
      apps/ops/notifications.py

3
apps/ops/notifications.py

@ -6,7 +6,8 @@ from notifications.notifications import SystemMessage
from notifications.models import SystemMsgSubscription from notifications.models import SystemMsgSubscription
from users.models import User from users.models import User
from notifications.backends import BACKEND from notifications.backends import BACKEND
from terminal.models import Status, Terminal from terminal.models.component.status import Status
from terminal.models import Terminal
__all__ = ('ServerPerformanceMessage', 'ServerPerformanceCheckUtil') __all__ = ('ServerPerformanceMessage', 'ServerPerformanceCheckUtil')

Loading…
Cancel
Save