Skip to content

Commit

Permalink
fix: incorrect field names in fluentd buffer plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
erhudy committed Jul 6, 2023
1 parent ab72254 commit 1339796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/fluentd/v1alpha1/plugins/common/buffer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (b *Buffer) Params(_ plugins.SecretLoader) (*params.PluginStore, error) {
}

if b.TotalLimitSize != nil {
ps.InsertPairs("chunk_limit_size", *b.TotalLimitSize)
ps.InsertPairs("total_limit_size", *b.TotalLimitSize)
}

if b.QueueLimitLength != nil {
Expand Down Expand Up @@ -254,7 +254,7 @@ func (b *Buffer) Params(_ plugins.SecretLoader) (*params.PluginStore, error) {
}

if b.RetrySecondaryThreshold != nil {
ps.InsertPairs("retry_secondary_threshold", fmt.Sprint(*b.RetryTimeout))
ps.InsertPairs("retry_secondary_threshold", fmt.Sprint(*b.RetrySecondaryThreshold))
}

if b.RetryType != nil {
Expand Down

0 comments on commit 1339796

Please sign in to comment.