File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apis/fluentbit/v1alpha2/plugins/input Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ func (s *Syslog) Params(_ plugins.SecretLoader) (*params.KVs, error) {
51
51
kvs := params .NewKVs ()
52
52
53
53
if s .Mode != "" {
54
- kvs .Insert ("Mode" , s .Path )
54
+ kvs .Insert ("Mode" , s .Mode )
55
55
}
56
56
if s .Listen != "" {
57
- kvs .Insert ("Listen" , s .Path )
57
+ kvs .Insert ("Listen" , s .Listen )
58
58
}
59
59
if s .Port != nil {
60
60
kvs .Insert ("Port" , fmt .Sprint (* s .Port ))
@@ -72,7 +72,7 @@ func (s *Syslog) Params(_ plugins.SecretLoader) (*params.KVs, error) {
72
72
kvs .Insert ("Buffer_Chunk_Size" , s .BufferChunkSize )
73
73
}
74
74
if s .BufferMaxSize != "" {
75
- kvs .Insert ("Buffer_Max_Size" , s .BufferChunkSize )
75
+ kvs .Insert ("Buffer_Max_Size" , s .BufferMaxSize )
76
76
}
77
77
if s .ReceiveBufferSize != "" {
78
78
kvs .Insert ("Receive_Buffer_Size" , s .ReceiveBufferSize )
You can’t perform that action at this time.
0 commit comments