From 7f5d9c88e5a48001066d06e33628742b719eaad3 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Thu, 26 May 2022 10:46:47 +0300 Subject: [PATCH] Add json tags for MaxReconn option from jsnCfg structs --- config/libconfig_json.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/libconfig_json.go b/config/libconfig_json.go index b123c03fb..5bc414b6d 100644 --- a/config/libconfig_json.go +++ b/config/libconfig_json.go @@ -40,7 +40,7 @@ type GeneralJsonCfg struct { Default_caching *string Connect_attempts *int Reconnects *int - MaxReconnectInterval *string + MaxReconnectInterval *string `json:"max_reconnect_interval"` Connect_timeout *string Reply_timeout *string Locking_timeout *string @@ -390,7 +390,7 @@ type FsConnJsonCfg struct { Address *string Password *string Reconnects *int - MaxReconnectInterval *string + MaxReconnectInterval *string `json:"max_reconnect_interval"` Alias *string } @@ -412,7 +412,7 @@ type RemoteHostJson struct { Ca_path *string Conn_attempts *int Reconnects *int - MaxReconnectInterval *string + MaxReconnectInterval *string `json:"max_reconnect_interval"` Connect_timeout *string Reply_timeout *string } @@ -424,7 +424,7 @@ type AstConnJsonCfg struct { Password *string Connect_attempts *int Reconnects *int - MaxReconnectInterval *string + MaxReconnectInterval *string `json:"max_reconnect_interval"` } type AsteriskAgentJsonCfg struct { @@ -461,7 +461,7 @@ type KamConnJsonCfg struct { Alias *string Address *string Reconnects *int - MaxReconnectInterval *string + MaxReconnectInterval *string `json:"max_reconnect_interval"` } // Represents one connection instance towards OpenSIPS