diff --git a/client/driver/logging/collector_windows.go b/client/driver/logging/collector_windows.go index 272b68cf2..a3a3c1169 100644 --- a/client/driver/logging/collector_windows.go +++ b/client/driver/logging/collector_windows.go @@ -4,7 +4,7 @@ import ( "log" "github.com/hashicorp/nomad/client/allocdir" - "github.com/hashicorp/nomad/client/driver/executor" + cstructs "github.com/hashicorp/nomad/client/driver/structs" "github.com/hashicorp/nomad/nomad/structs" ) @@ -32,7 +32,7 @@ type LogCollectorContext struct { // SyslogCollectorState holds the address and islation information of a launched // syslog server type SyslogCollectorState struct { - IsolationConfig *executor.IsolationConfig + IsolationConfig *cstructs.IsolationConfig Addr string } diff --git a/client/driver/logging/syslog_server.go b/client/driver/logging/syslog_server.go index 87f8fe2e9..55bbe88ae 100644 --- a/client/driver/logging/syslog_server.go +++ b/client/driver/logging/syslog_server.go @@ -1,3 +1,5 @@ +// +build !windows + package logging import (