Compare commits

..

1 Commits

Author SHA1 Message Date
fatedier
dbbe34bffa update the default value of transport.tcpMuxKeepaliveInterval 2024-05-21 11:30:00 +08:00

View File

@ -17,7 +17,6 @@ package v1
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"reflect"
)
@ -43,7 +42,7 @@ func (c *TypedClientPluginOptions) UnmarshalJSON(b []byte) error {
c.Type = typeStruct.Type
if c.Type == "" {
return errors.New("plugin type is empty")
return nil
}
v, ok := clientPluginOptionsTypeMap[typeStruct.Type]