From fad677c41b787bb09b5f93aafb0849feb1e9e806 Mon Sep 17 00:00:00 2001 From: glutamatt Date: Mon, 22 Nov 2021 18:53:48 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Zhuojie Zhou --- pkg/config/env.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/env.go b/pkg/config/env.go index 41ca9806..f1f59e62 100644 --- a/pkg/config/env.go +++ b/pkg/config/env.go @@ -130,7 +130,7 @@ var Config = struct { // Kafka related configurations for data records logging (Flagr Metrics) RecorderKafkaVersion string `env:"FLAGR_RECORDER_KAFKA_VERSION" envDefault:"0.8.2.0"` RecorderKafkaBrokers string `env:"FLAGR_RECORDER_KAFKA_BROKERS" envDefault:":9092"` - RecorderKafkaCompressionCodec int8 `env:"FLAGR_RECORDER_KAFKA_COMPRESSION_CODEC" envDefault:":0"` + RecorderKafkaCompressionCodec int8 `env:"FLAGR_RECORDER_KAFKA_COMPRESSION_CODEC" envDefault:"0"` RecorderKafkaCertFile string `env:"FLAGR_RECORDER_KAFKA_CERTFILE" envDefault:""` RecorderKafkaKeyFile string `env:"FLAGR_RECORDER_KAFKA_KEYFILE" envDefault:""` RecorderKafkaCAFile string `env:"FLAGR_RECORDER_KAFKA_CAFILE" envDefault:""`