Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

FROM golang:1.7.5-alpine3.5

MAINTAINER Chris Aubuchon <[email protected]>
Expand All @@ -7,6 +8,7 @@ RUN apk add --update make git glide \
&& cd /go/src/github.com/CiscoCloud/mesos-consul \
&& make vendor \
&& go build -o /bin/mesos-consul \

&& rm -rf /go \
&& apk del --purge make git glide

Expand Down
6 changes: 3 additions & 3 deletions mesos/zk.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"net"
"time"

"github.com/mesos/mesos-go/detector"
_ "github.com/mesos/mesos-go/detector/zoo"
proto "github.com/mesos/mesos-go/mesosproto"
"github.com/mesos/mesos-go/api/v0/detector"
_ "github.com/mesos/mesos-go/api/v0/detector/zoo"
proto "github.com/mesos/mesos-go/api/v0/mesosproto"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/mesos/mesos-go/upid"
"github.com/mesos/mesos-go/api/v0/upid"
)

// Resources holds resources as defined in the /state.json Mesos HTTP endpoint.
Expand Down
2 changes: 1 addition & 1 deletion state/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"testing"

"github.com/mesos/mesos-go/upid"
"github.com/mesos/mesos-go/api/v0/upid"
. "github.com/CiscoCloud/mesos-consul/state"
)

Expand Down