Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

rewrite self state monitor #14

Merged
merged 4 commits into from
Jun 3, 2016
Merged

rewrite self state monitor #14

merged 4 commits into from
Jun 3, 2016

Conversation

AlexAkulov
Copy link
Contributor

No description provided.

@gmlexx
Copy link
Contributor

gmlexx commented Jun 1, 2016

What about code coverage decrease? There is a lot of code that need to be tested.
@AlexAkulov who will write the tests? Me or you?

func CheckSelfStateMonitorSettings() error {
if config.Notifier.SelfState.Enabled != "true" {
if ToBool(config.Notifier.SelfState.Enabled) {
return nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to bug.
If self check enabled, we exit from function and do not check contact settings

@gmlexx
Copy link
Contributor

gmlexx commented Jun 2, 2016

Starting to write tests and found a bug. Look at comment ^

@AlexAkulov
Copy link
Contributor Author

Yes, it is bug

@gmlexx gmlexx self-assigned this Jun 3, 2016
@gmlexx gmlexx merged commit bc142f5 into master Jun 3, 2016
@AlexAkulov AlexAkulov deleted the heartbeat branch October 20, 2016 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants