From a16ce648af72a0a4114762e0c771b29e5fde8bf6 Mon Sep 17 00:00:00 2001 From: juicer Date: Thu, 13 Jun 2024 22:52:44 -0700 Subject: [PATCH] fix typo --- cmd/fluent-watcher/fluentbit/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/fluent-watcher/fluentbit/main.go b/cmd/fluent-watcher/fluentbit/main.go index f5ebc4080..cb13ec635 100644 --- a/cmd/fluent-watcher/fluentbit/main.go +++ b/cmd/fluent-watcher/fluentbit/main.go @@ -22,7 +22,7 @@ const ( defaultBinPath = "/fluent-bit/bin/fluent-bit" defaultCfgPath = "/fluent-bit/etc/fluent-bit.conf" defaultSecretYamlPath = "/fluent-bit/config/fluent-bit.yaml" - defaultYamlCfgPath = "/fluent-bit/etc/fluent-bit.yml" + defaultYamlCfgPath = "/fluent-bit/etc/fluent-bit.yaml" defaultParserCfgPath = "/fluent-bit/etc/parser.conf" defaultWatchDir = "/fluent-bit/config" defaultPollInterval = 1 * time.Second @@ -37,7 +37,6 @@ func main() { var pollInterval time.Duration var parserCfgPath string flag.StringVar(&binPath, "b", defaultBinPath, "The fluent bit binary path.") - flag.StringVar(&configPath, "c", defaultCfgPath, "The config file path.") flag.StringVar(&externalPluginPath, "e", "", "Path to external plugin (shared lib)") flag.StringVar(&watchPath, "watch-path", defaultWatchDir, "The path to watch.") flag.BoolVar(&poll, "poll", false, "Use poll watcher instead of ionotify.")