Merge pull request #34134 from pims/use-const-key

Replaces fluentd-address string by constant
This commit is contained in:
Brian Goff 2017-07-17 11:13:54 -04:00 committed by GitHub
commit d9b785cf2e
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ func ValidateLogOpt(cfg map[string]string) error {
}
}
_, err := parseAddress(cfg["fluentd-address"])
_, err := parseAddress(cfg[addressKey])
return err
}