diff --git a/fluentd/config.go b/fluentd/config.go index c463f47..39637cb 100644 --- a/fluentd/config.go +++ b/fluentd/config.go @@ -10,7 +10,7 @@ func ParseAddr(addr string) (string, int, error) { fHost := p[0] fPort, err := strconv.Atoi(p[1]) if err != nil { - return nil, nil, err + return "", 0, err } return fHost, fPort, nil