mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-19 05:02:34 +00:00
util/winutil: add some missing docs to restartmgr errors
Just a quick #cleanup. Signed-off-by: Aaron Klotz <aaron@tailscale.com>
This commit is contained in:
parent
46bdbb3878
commit
aed2cfec4e
@ -23,7 +23,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
// ErrDefunctProcess is returned by (*UniqueProcess).AsRestartableProcess
|
||||||
|
// when the process no longer exists.
|
||||||
ErrDefunctProcess = errors.New("process is defunct")
|
ErrDefunctProcess = errors.New("process is defunct")
|
||||||
|
// ErrProcessNotRestartable is returned by (*UniqueProcess).AsRestartableProcess
|
||||||
|
// when the process has previously indicated that it must not be restarted
|
||||||
|
// during a patch/upgrade.
|
||||||
ErrProcessNotRestartable = errors.New("process is not restartable")
|
ErrProcessNotRestartable = errors.New("process is not restartable")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user