mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
osutil: fix InterruptHandler comment position
This commit is contained in:
parent
c777516a5d
commit
cec8466ad2
@ -14,9 +14,6 @@
|
||||
|
||||
// +build !windows,!plan9
|
||||
|
||||
// InterruptHandler is a function that is called on receiving a
|
||||
// SIGTERM or SIGINT signal.
|
||||
|
||||
package osutil
|
||||
|
||||
import (
|
||||
@ -27,6 +24,8 @@ import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
// InterruptHandler is a function that is called on receiving a
|
||||
// SIGTERM or SIGINT signal.
|
||||
type InterruptHandler func()
|
||||
|
||||
var (
|
||||
|
Loading…
x
Reference in New Issue
Block a user