Skip to content

Commit

Permalink
Merge pull request #119 from github/merge-upstream-ob
Browse files Browse the repository at this point in the history
Merge upstream ob
  • Loading branch information
Shlomi Noach authored Oct 28, 2016
2 parents 4537d00 + 59af5e7 commit 582cb00
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resources/public/js/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -1060,19 +1060,19 @@ function Cluster() {
}
var instanceFullNames = [];
instances.forEach(function(instance) {
incrementProblems("", instance.title)
incrementProblems("", instance.title + " " + instance.Version)
instanceFullNames.push(getInstanceTitle(instance.Key.Hostname, instance.Key.Port));
if (instance.inMaintenanceProblem()) {
incrementProblems("inMaintenanceProblem", instance.title)
incrementProblems("inMaintenanceProblem", instance.title + " " + instance.Version)
}
if (instance.lastCheckInvalidProblem()) {
incrementProblems("lastCheckInvalidProblem", instance.title)
incrementProblems("lastCheckInvalidProblem", instance.title + " " + instance.Version)
} else if (instance.notRecentlyCheckedProblem()) {
incrementProblems("notRecentlyCheckedProblem", instance.title)
incrementProblems("notRecentlyCheckedProblem", instance.title + " " + instance.Version)
} else if (instance.notReplicatingProblem()) {
incrementProblems("notReplicatingProblem", instance.title)
incrementProblems("notReplicatingProblem", instance.title + " " + instance.Version)
} else if (instance.replicationLagProblem()) {
incrementProblems("replicationLagProblem", instance.title)
incrementProblems("replicationLagProblem", instance.title + " " + instance.Version)
}
});
var aggergateInstance = instances[0];
Expand Down

0 comments on commit 582cb00

Please sign in to comment.