Skip to content

Commit

Permalink
Revert last 2 commits
Browse files Browse the repository at this point in the history
  • Loading branch information
CWSpear committed Nov 10, 2016
1 parent f0ad727 commit 5eb59a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ package main

import (
"fmt"
"os/user"

"github.com/docker/go-plugins-helpers/volume"
)

func main() {
driver := newLocalPersistDriver()

u, _ := user.Current()

handler := volume.NewHandler(driver)
fmt.Println(handler.ServeUnix(u.Name, driver.name))
fmt.Println(handler.ServeUnix("root", driver.name))
}

0 comments on commit 5eb59a0

Please sign in to comment.