Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cw-Guo committed Jun 14, 2024
1 parent d93b0bc commit a16ce64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/fluent-watcher/fluentbit/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.")
Expand Down

0 comments on commit a16ce64

Please sign in to comment.