From d353b1e4f922227798a86583fa22330ac3f581d7 Mon Sep 17 00:00:00 2001 From: Chris Morse Date: Wed, 30 Oct 2024 16:47:56 -0400 Subject: [PATCH] Update a few names of Kafka advanced options --- cmd/database/database.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/database/database.go b/cmd/database/database.go index 18de422..bc1dffa 100644 --- a/cmd/database/database.go +++ b/cmd/database/database.go @@ -3084,7 +3084,7 @@ func NewCmdDatabase(base *cli.Base) *cobra.Command { //nolint:funlen,gocyclo } if cmd.Flags().Changed("log-index-size-max-bytes") { - o.AdvancedOptionsReq.LogindexSizeMaxBytes = logIndexSizeMaxBytes + o.AdvancedOptionsReq.LogIndexSizeMaxBytes = logIndexSizeMaxBytes } if cmd.Flags().Changed("log-local-retention-ms") { @@ -3152,7 +3152,7 @@ func NewCmdDatabase(base *cli.Base) *cobra.Command { //nolint:funlen,gocyclo } if cmd.Flags().Changed("default-replication-factor") { - o.AdvancedOptionsReq.DefaultReplicationRefactor = defaultReplicationFactor + o.AdvancedOptionsReq.DefaultReplicationFactor = defaultReplicationFactor } if cmd.Flags().Changed("replica-fetch-max-bytes") { @@ -3180,7 +3180,7 @@ func NewCmdDatabase(base *cli.Base) *cobra.Command { //nolint:funlen,gocyclo } if cmd.Flags().Changed("sasl-oauthbearer-jwks-endpoint-url") { - o.AdvancedOptionsReq.SASLOauthbearerJwksEndpointURL = saslOauthbearerJWKSEndpointURL + o.AdvancedOptionsReq.SASLOauthbearerJWKSEndpointURL = saslOauthbearerJWKSEndpointURL } if cmd.Flags().Changed("sasl-oauthbearer-sub-claim-name") {