Making the build work for windows

This commit is contained in:
Diptanu Choudhury
2016-02-23 15:17:07 -08:00
parent 0223394c63
commit a735ad155d
2 changed files with 4 additions and 2 deletions

View File

@@ -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
}

View File

@@ -1,3 +1,5 @@
// +build !windows
package logging
import (