Skip to content

Commit d705c40

Browse files
committed
Fix typo in readme
1 parent 2f59a29 commit d705c40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Install CSI Driver:
8585

8686
* `--leader-election-namespace <namespace>`: The namespace where the leader election resource exists. Defaults to the pod namespace if not set.
8787

88-
* `--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.
88+
* `--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.
8989

9090
* `--metrics-path`: The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.
9191

cmd/csi-snapshotter/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var (
6868
leaderElection = flag.Bool("leader-election", false, "Enables leader election.")
6969
leaderElectionNamespace = flag.String("leader-election-namespace", "", "The namespace where the leader election resource exists. Defaults to the pod namespace if not set.")
7070

71-
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.")
71+
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.")
7272
metricsPath = flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
7373
)
7474

0 commit comments

Comments
 (0)