NetApp / netappdvp

A Docker volume plugin for NetApp storage
96 stars 33 forks source link

fix failing build #52

Closed ntap-rippy closed 7 years ago

ntap-rippy commented 7 years ago

go-plugins-helpers change has broken our build: https://github.com/docker/go-plugins-helpers/commit/65a562254f786ada2d545466185c59e235b7699e

simple fix in our main.go

diff --git a/main.go b/main.go
index c46c8ee..310facf 100644
--- a/main.go
+++ b/main.go
@@ -146,6 +146,6 @@ func main() {
        if *port != "" {
                log.Info(h.ServeTCP(*driverID, ":"+*port, nil))
        } else {
-               log.Info(h.ServeUnix("root", *driverID)) // 'root' here is the unix group to start as
+               log.Info(h.ServeUnix(*driverID, 0)) // 0  is the unix group to start as (root gid)
        }
 }
ntap-rippy commented 7 years ago

Resolved in https://github.com/NetApp/netappdvp/commit/cf6702fe3e9cd2458e02ea56feafb864b38ba606