vendor update

This commit is contained in:
2021-11-12 15:58:01 +08:00
parent 5353429b8c
commit c615c4bb00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (f *FileLock) Unlock() error {
}
func (f *FileLock) LockWithTimeout(tm time.Duration, Exclusive bool) error {
return stario.StopUntilTimeout(tm, func(tmout chan struct{}) error {
return stario.WaitUntilTimeout(tm, func(tmout chan struct{}) error {
err := f.Lock(Exclusive)
select {
case <-tmout:
+2 -2
View File
@@ -59,7 +59,7 @@ func Daemon(path string, args ...string) (int, error) {
return pid, nil
}
func (starcli *StarCmd) SetRunUser(uid, gid uint32) {
func (starcli *StarCmd) SetRunUser(uid, gid uint32, groups []uint32) {
}
@@ -69,4 +69,4 @@ func (starcli *StarCmd) Release() error {
}
starcli.CMD.Process.Release()
return nil
}
}