Skip to content

Commit bace946

Browse files
author
xinfan.wu(吴歆帆)
committed
change TcpMaxReconnectAttempts json tag
1 parent 12033ac commit bace946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/echo/tcp-echo/client/app/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type (
5858
waitTimeout time.Duration
5959
MaxMsgLen int `default:"1024" yaml:"max_msg_len" json:"max_msg_len,omitempty"`
6060
SessionName string `default:"echo-client" yaml:"session_name" json:"session_name,omitempty"`
61-
TcpMaxReconnectAttempts int `default:"10" yaml:"tcp_max_retry_attempts" json:"tcp_max_retry_attempts,omitempty"`
61+
TcpMaxReconnectAttempts int `default:"10" yaml:"tcp_max_reconnect_attempts" json:"tcp_max_reconnect_attempts,omitempty"`
6262
}
6363

6464
// Config holds supported types by the multiconfig package

0 commit comments

Comments
 (0)