File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ RUN go get -u k8s.io/apimachinery/pkg/apis/meta/v1 && \
55 go get -u k8s.io/client-go/kubernetes && \
66 go get -u k8s.io/client-go/rest && \
77 go get -u github.com/John-Lin/ovsdbDriver && \
8- go get -u github.com/Sirupsen /logrus && \
8+ go get -u github.com/sirupsen /logrus && \
99 go get -u github.com/containernetworking/cni/pkg/types
1010RUN cd /src && go build -o flaxd
1111
1212# final stage
1313FROM debian:stretch-slim
1414WORKDIR /app
1515COPY --from=build-env /src/flaxd /app/
16- ENTRYPOINT ./flaxd
16+ ENTRYPOINT ./flaxd
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ import (
2626 "k8s.io/client-go/kubernetes"
2727 "k8s.io/client-go/rest"
2828
29- "github.com/John-Lin/ovsdbDriver"
30- log "github.com/Sirupsen/logrus"
29+ "github.com/John-Lin/ovsdb"
3130 "github.com/containernetworking/cni/pkg/types"
3231 "github.com/containernetworking/cni/pkg/types/current"
32+ log "github.com/sirupsen/logrus"
3333)
3434
35- var ovsDriver * ovsdbDriver .OvsDriver
35+ var ovsDriver * ovsdb .OvsDriver
3636
3737// OVS corresponds to Open vSwitch Bridge plugin options
3838type OVS struct {
@@ -129,7 +129,7 @@ func main() {
129129 }
130130
131131 // create a ovs bridge
132- ovsDriver = ovsdbDriver .NewOvsDriverWithUnix (netConf .Plugins [1 ].RuntimeConfig .OVS .OVSBrName )
132+ ovsDriver = ovsdb .NewOvsDriverWithUnix (netConf .Plugins [1 ].RuntimeConfig .OVS .OVSBrName )
133133
134134 // monitoring
135135 for {
You can’t perform that action at this time.
0 commit comments