diff --git a/daemon/logdrivers_windows.go b/daemon/logdrivers_windows.go index 129b06650b..8337c0f0a8 100644 --- a/daemon/logdrivers_windows.go +++ b/daemon/logdrivers_windows.go @@ -7,4 +7,5 @@ import ( _ "github.com/docker/docker/daemon/logger/etwlogs" _ "github.com/docker/docker/daemon/logger/jsonfilelog" _ "github.com/docker/docker/daemon/logger/splunk" + _ "github.com/docker/docker/daemon/logger/syslog" ) diff --git a/daemon/logger/syslog/syslog.go b/daemon/logger/syslog/syslog.go index 0a60241b32..754dc83d69 100644 --- a/daemon/logger/syslog/syslog.go +++ b/daemon/logger/syslog/syslog.go @@ -1,5 +1,3 @@ -// +build linux - // Package syslog provides the logdriver for forwarding server logs to syslog endpoints. package syslog diff --git a/daemon/logger/syslog/syslog_test.go b/daemon/logger/syslog/syslog_test.go index f083030b70..fe9e897731 100644 --- a/daemon/logger/syslog/syslog_test.go +++ b/daemon/logger/syslog/syslog_test.go @@ -1,11 +1,10 @@ -// +build linux - package syslog import ( - syslog "github.com/RackSec/srslog" "reflect" "testing" + + syslog "github.com/RackSec/srslog" ) func functionMatches(expectedFun interface{}, actualFun interface{}) bool { diff --git a/daemon/logger/syslog/syslog_unsupported.go b/daemon/logger/syslog/syslog_unsupported.go deleted file mode 100644 index 50cc51b657..0000000000 --- a/daemon/logger/syslog/syslog_unsupported.go +++ /dev/null @@ -1,3 +0,0 @@ -// +build !linux - -package syslog