Make it compile again.

This commit is contained in:
Tom Wilkie
2015-12-16 15:24:53 +00:00
parent b99555936d
commit 662b792781
3 changed files with 3 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ tracer.tar: main/main main/Dockerfile
main/main: main/*.go main/static.go ptrace/*.go
go get -tags netgo ./$(@D)
go build -ldflags "-extldflags \"-static\" -X main.version $(SCOPE_VERSION)" -tags netgo -o $@ ./$(@D)
go build -ldflags "-extldflags \"-static\"" -tags netgo -o $@ ./$(@D)
main/static.go: ui/*
esc -o main/static.go -prefix ui ui

View File

@@ -32,7 +32,7 @@ func (t *tracer) Stop() {
}
func main() {
dockerRegistry, err := docker.NewRegistry(pollInterval)
dockerRegistry, err := docker.NewRegistry(pollInterval, nil)
if err != nil {
log.Fatalf("Could start docker watcher: %v", err)
}
@@ -65,6 +65,6 @@ func handleSignals() chan struct{} {
log.Printf("=== received SIGQUIT ===\n*** goroutine dump...\n%s\n*** end\n", buf[:stacklen])
}
}
} ()
}()
return quit
}

View File

@@ -86,8 +86,6 @@ type Container interface {
GetNode(string, []net.IP) report.Node
State() string
HasTTY() bool
GetNode() report.Node
Container() *docker.Container
StartGatheringStats() error
StopGatheringStats()