Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h.ServeUnix("root", "test_volume") can't compile #77

Open
reachlin opened this issue Mar 21, 2017 · 1 comment
Open

h.ServeUnix("root", "test_volume") can't compile #77

reachlin opened this issue Mar 21, 2017 · 1 comment

Comments

@reachlin
Copy link

reachlin commented Mar 21, 2017

in the readme, the sample code is

h.ServeUnix("root", "test_volume")

but the ServeUnix takes int as the second parameter now?
https://github.com/docker/go-plugins-helpers/blob/master/sdk/handler.go

@hsluoyz
Copy link
Contributor

hsluoyz commented May 20, 2017

@reachlin , the second parameter is the gid now, usually the gid for root. For usage please refer to: https://github.com/casbin/casbin-authz-plugin/blob/master/main.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants