diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-18 15:12:33 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-19 00:07:07 -0500 |
commit | 58ea9bb4a0803dfd1f9014ce0966699fc4b4633b (patch) | |
tree | f863f31e9baeee69c0973b983a5d10afc29e8f12 /go/src/nshd/nslcd_backend/db_config.go | |
parent | 6b23f1082f0d67293892726471af031c1bad882a (diff) |
update dependencies
actually, roll "errors" back to the last tagged version, instead of master
Diffstat (limited to 'go/src/nshd/nslcd_backend/db_config.go')
-rw-r--r-- | go/src/nshd/nslcd_backend/db_config.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/go/src/nshd/nslcd_backend/db_config.go b/go/src/nshd/nslcd_backend/db_config.go index d00bf02..e59e811 100644 --- a/go/src/nshd/nslcd_backend/db_config.go +++ b/go/src/nshd/nslcd_backend/db_config.go @@ -17,11 +17,12 @@ package nslcd_backend import ( + "context" + p "git.lukeshu.com/go/libnslcd/nslcd_proto" - s "golang.org/x/sys/unix" ) -func (o *Hackers) Config_Get(cred s.Ucred, req p.Request_Config_Get) <-chan p.Config { +func (o *Hackers) Config_Get(ctx context.Context, req p.Request_Config_Get) <-chan p.Config { o.lock.RLock() ret := make(chan p.Config) go func() { |