Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
[minor] typos in metricsservice
Browse files Browse the repository at this point in the history
Remove some json-rpc copy-pasta
  • Loading branch information
shemnon committed Jan 4, 2019
1 parent e06c685 commit 649212b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@ private void validateConfig(final MetricsConfiguration config) {
}

public CompletableFuture<?> start() {
LOG.info("Starting JsonRPC service on {}:{}", config.getHost(), config.getPort());
LOG.info("Starting metrics service on {}:{}", config.getHost(), config.getPort());
// Create the HTTP server and a router object.
httpServer =
vertx.createHttpServer(
new HttpServerOptions().setHost(config.getHost()).setPort(config.getPort()));

// Handle json rpc requests
final Router router = Router.router(vertx);

// Verify Host header to avoid rebind attack.
Expand Down

0 comments on commit 649212b

Please sign in to comment.