Skip to content

Commit

Permalink
config: The external-address flag has no default value
Browse files Browse the repository at this point in the history
Signed-off-by: Tatiana Nesterenko <[email protected]>
  • Loading branch information
tatiana-nspcc committed Jun 3, 2024
1 parent 227f373 commit 066ca22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/neofs-rest-gw/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func config() *viper.Viper {
flagSet.Duration(cfgEndpointKeepAlive, 3*time.Minute, "sets the TCP keep-alive timeouts on accepted connections. It prunes dead TCP connections ( e.g. closing laptop mid-download)")
flagSet.Duration(cfgEndpointReadTimeout, 30*time.Second, "maximum duration before timing out read of the request")
flagSet.Duration(cfgEndpointWriteTimeout, 30*time.Second, "maximum duration before timing out write of the response")
flagSet.String(cfgEndpointExternalAddress, "localhost:8090", "the IP and port to be shown in the API documentation")
flagSet.String(cfgEndpointExternalAddress, "", "the full URL address needs to be shown in the API documentation")

// init server flags
BindDefaultFlags(flagSet)
Expand Down

0 comments on commit 066ca22

Please sign in to comment.