Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
/***
* JobClustersRoute
* Defines the following end points:
* api/v1/jobsClusters (GET, POST)
* api/v1/jobClusters (GET, POST)
* api/v1/jobClusters/{}/latestJobDiscoveryInfo (GET)
* api/v1/jobClusters/{} (GET, POST, PUT, DELETE)
* api/v1/jobClusters/{}/scalerRules (GET, POST, DELETE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public Route redirectIfNotLeader(final Route leaderRoute) {
return extractUri(uri -> {
Uri redirectUri = uri.host(hostname).port(apiPort);
apiRedirectsToLeader.increment();
logger.info("redirecting request {} to leader", redirectUri.toString());
logger.info("redirecting request to leader: {}", redirectUri.toString());
return redirect(redirectUri, StatusCodes.FOUND);
});
}
Expand Down
Loading