Browse code

Replaces fluentd-address string by constant

Signed-off-by: tim <tim@fewagainstmany.com>

tim authored on 2017/07/17 14:56:52
Showing 1 changed files
... ...
@@ -189,7 +189,7 @@ func ValidateLogOpt(cfg map[string]string) error {
189 189
 		}
190 190
 	}
191 191
 
192
-	_, err := parseAddress(cfg["fluentd-address"])
192
+	_, err := parseAddress(cfg[addressKey])
193 193
 	return err
194 194
 }
195 195