feat(notifier): refactor selfstate heartbeaters #2448
Annotations
10 errors and 1 warning
lint:
cmd/notifier/config.go#L12
could not import github.com/moira-alert/moira/notifier/selfstate (-: # github.com/moira-alert/moira/notifier/selfstate
|
lint:
notifier/selfstate/check.go#L39
assignment mismatch: 3 variables but heartbeat.Check returns 2 values
|
lint:
notifier/selfstate/check.go#L39
too many arguments in call to heartbeat.Check
|
lint:
notifier/selfstate/check.go#L47
heartbeat.GetErrorMessage undefined (type heartbeat.Heartbeater has no field or method GetErrorMessage)
|
lint:
notifier/selfstate/check.go#L48
heartbeat.NeedTurnOffNotifier undefined (type heartbeat.Heartbeater has no field or method NeedTurnOffNotifier)
|
lint:
notifier/selfstate/check.go#L52
heartbeat.NeedToCheckOthers undefined (type heartbeat.Heartbeater has no field or method NeedToCheckOthers)
|
lint:
notifier/selfstate/selfstate.go#L67
undefined: heartbeat.GetDatabase
|
lint:
notifier/selfstate/selfstate.go#L71
undefined: heartbeat.GetFilter
|
lint:
notifier/selfstate/selfstate.go#L75
undefined: heartbeat.GetLocalChecker
|
lint:
notifier/selfstate/selfstate.go#L79
undefined: heartbeat.GetRemoteChecker
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|