From d705c40e171b2c0604b2ebe9e5c69023a580083b Mon Sep 17 00:00:00 2001 From: saad-ali Date: Mon, 30 Dec 2019 17:49:38 -0800 Subject: [PATCH] Fix typo in readme --- README.md | 2 +- cmd/csi-snapshotter/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c55f080..5578d35f 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Install CSI Driver: * `--leader-election-namespace `: The namespace where the leader election resource exists. Defaults to the pod namespace if not set. -* `--metrics-address`: The TCP network address address where the prometheus metrics endpoint will run (example: `:8080` which corresponds to port 8080 on local host). The default is empty string, which means metrics endpoint is disabled. +* `--metrics-address`: The TCP network address where the prometheus metrics endpoint will run (example: `:8080` which corresponds to port 8080 on local host). The default is empty string, which means metrics endpoint is disabled. * `--metrics-path`: The HTTP path where prometheus metrics will be exposed. Default is `/metrics`. diff --git a/cmd/csi-snapshotter/main.go b/cmd/csi-snapshotter/main.go index 40da9049..1c557d36 100644 --- a/cmd/csi-snapshotter/main.go +++ b/cmd/csi-snapshotter/main.go @@ -68,7 +68,7 @@ var ( leaderElection = flag.Bool("leader-election", false, "Enables leader election.") leaderElectionNamespace = flag.String("leader-election-namespace", "", "The namespace where the leader election resource exists. Defaults to the pod namespace if not set.") - metricsAddress = flag.String("metrics-address", "", "The TCP network address address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.") + metricsAddress = flag.String("metrics-address", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.") metricsPath = flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.") )