Skip to content

Commit

Permalink
re format code
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantrayan committed Nov 5, 2019
1 parent b68d0c3 commit 4b328bb
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,19 @@ public void start() {
}

private void notifyUnhealthyCluster(ClusterStats clusterStats) {
emailNotifier.sendNotification(String.format("%s - Cluster unhealthy", clusterStats.getClusterId()), clusterStats.toString());
emailNotifier.sendNotification(String.format("%s - Cluster unhealthy",
clusterStats.getClusterId()),
clusterStats.toString());
}

private void notifyForTooManyQueuedQueries(ClusterStats clusterStats) {
emailNotifier.sendNotification(String.format("%s - Too many queued queries", clusterStats.toString()), clusterStats.toString());
emailNotifier.sendNotification(String.format("%s - Too many queued queries",
clusterStats.toString()), clusterStats.toString());
}

private void notifyForNoWorkers(ClusterStats clusterStats) {
emailNotifier.sendNotification(String.format("%s - Number of workers", clusterStats.getClusterId()), clusterStats.toString());
emailNotifier.sendNotification(String.format("%s - Number of workers",
clusterStats.getClusterId()), clusterStats.toString());
}

private ClusterStats getPrestoClusterStats(ProxyBackendConfiguration backend) {
Expand Down

0 comments on commit 4b328bb

Please sign in to comment.