mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
09ad434f10
There are two build errors when using go-1.11beta1:
> daemon/logger/loggerutils/logfile.go:367: Warningf format %q arg f.Name is a func value, not called
> daemon/logger/loggerutils/logfile.go:564: Debug call has possible formatting directive %v
In the first place, the file name is actually not required as error
message already includes it.
While at it, fix a couple of other places for more correct messages, and
make sure to not add a file name if an error already has it.
Fixes:
|
||
---|---|---|
.. | ||
awslogs | ||
etwlogs | ||
fluentd | ||
gcplogs | ||
gelf | ||
journald | ||
jsonfilelog | ||
logentries | ||
loggerutils | ||
splunk | ||
syslog | ||
templates | ||
adapter.go | ||
adapter_test.go | ||
copier.go | ||
copier_test.go | ||
factory.go | ||
logger.go | ||
logger_test.go | ||
loginfo.go | ||
metrics.go | ||
plugin.go | ||
plugin_unix.go | ||
plugin_unsupported.go | ||
proxy.go | ||
ring.go | ||
ring_test.go |