Skip to content

Commit f6480fc

Browse files
committed
Fix admin bind address description
The default address is localhost.
1 parent 50a317f commit f6480fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/server/app/options/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (o *ProxyRunOptions) Flags() *pflag.FlagSet {
120120
flags.IntVar(&o.AgentPort, "agent-port", o.AgentPort, "Port we listen for agent connections on.")
121121
flags.StringVar(&o.AgentBindAddress, "agent-bind-address", o.AgentBindAddress, "Bind address for agent connections. If empty, we will bind to all interfaces.")
122122
flags.IntVar(&o.AdminPort, "admin-port", o.AdminPort, "Port we listen for admin connections on.")
123-
flags.StringVar(&o.AdminBindAddress, "admin-bind-address", o.AdminBindAddress, "Bind address for admin connections. If empty, we will bind to all interfaces.")
123+
flags.StringVar(&o.AdminBindAddress, "admin-bind-address", o.AdminBindAddress, "Bind address for admin connections. If empty, we will bind to localhost.")
124124
flags.IntVar(&o.HealthPort, "health-port", o.HealthPort, "Port we listen for health connections on.")
125125
flags.StringVar(&o.HealthBindAddress, "health-bind-address", o.HealthBindAddress, "Bind address for health connections. If empty, we will bind to all interfaces.")
126126
flags.DurationVar(&o.KeepaliveTime, "keepalive-time", o.KeepaliveTime, "Time for gRPC agent server keepalive.")

0 commit comments

Comments
 (0)