From a735ad155d7ad598e47919970b6016142ff61fbb Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Tue, 23 Feb 2016 15:17:07 -0800 Subject: [PATCH] Making the build work for windows --- client/driver/logging/collector_windows.go | 4 ++-- client/driver/logging/syslog_server.go | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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 (