Skip to content

Commit

Permalink
Update a few names of Kafka advanced options
Browse files Browse the repository at this point in the history
  • Loading branch information
christhemorse committed Oct 30, 2024
1 parent fe38af1 commit d353b1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down Expand Up @@ -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") {
Expand Down Expand Up @@ -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") {
Expand Down

0 comments on commit d353b1e

Please sign in to comment.