Skip to content

Commit e60a752

Browse files
committed
version 0.33, EFS fix, remove vendor
1 parent 3b84951 commit e60a752

File tree

14 files changed

+11
-18
lines changed

14 files changed

+11
-18
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ docker-volume-netshare.iml
3030
tests/
3131
build/
3232
.goxc.local.json
33+
Dockerfile.release

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ script:
77
- go build
88
install:
99
- go get github.com/stretchr/testify
10-
# - go get -v ./...
10+
- go get -v ./...
1111
env:
1212
- GO15VENDOREXPERIMENT=1

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
FROM golang:1.5
1+
FROM golang:1.6
22

33
## dkv-netshare is BASE image used by CIFS, NFS tafs
44
##
55

6-
COPY . /go/src/app
7-
WORKDIR /go/src/app
8-
RUN go-wrapper download && go-wrapper install && go build -o docker-volume-netshare && cp docker-volume-netshare /bin
6+
RUN mkdir -p /go/src/github.com/ContainX/docker-volume-netshare
7+
COPY . /go/src/github.com/ContainX/docker-volume-netshare
8+
WORKDIR /go/src/github.com/ContainX/docker-volume-netshare
9+
#RUN go-wrapper download && go-wrapper install && go build -o docker-volume-netshare && cp docker-volume-netshare /bin

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 0.32
1+
VERSION = 0.33
22
GO_FMT = gofmt -s -w -l .
33
GO_XC = goxc -os="linux" -bc="linux,amd64,arm" -tasks-="rmbin"
44

netshare/drivers/efs.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ package drivers
22

33
import (
44
"fmt"
5+
log "github.com/Sirupsen/logrus"
6+
"github.com/docker/go-plugins-helpers/volume"
57
"os"
68
"regexp"
79
"strings"
8-
9-
log "github.com/Sirupsen/logrus"
10-
"github.com/docker/go-plugins-helpers/volume"
1110
)
1211

1312
const (

netshare/netshare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func start(dt drivers.DriverType, driver volume.Driver) {
230230
}
231231
fmt.Println(h.ServeTCP(dt.String(), addr, nil))
232232
} else {
233-
fmt.Println(h.ServeUnix("", dt.String()))
233+
fmt.Println(h.ServeUnix("", int(dt)))
234234
}
235235
}
236236

Submodule logrus deleted from 3ec0642
Submodule netrc deleted from 3acf1b3
Submodule go-connections deleted from 988efe9
Submodule go-plugins-helpers deleted from 8a0198e

0 commit comments

Comments
 (0)