removed obsolete command line argument "disable-shutdown-event"
This commit is contained in:
@@ -2,7 +2,6 @@ package core
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"sync/atomic"
|
||||
|
||||
@@ -49,17 +48,6 @@ func (c *Core) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var disableShutdownEvent bool
|
||||
|
||||
func init() {
|
||||
flag.BoolVar(
|
||||
&disableShutdownEvent,
|
||||
"disable-shutdown-event",
|
||||
false,
|
||||
"disable shutdown event to keep app and notifier open when core shuts down",
|
||||
)
|
||||
}
|
||||
|
||||
func prep() error {
|
||||
// init config
|
||||
if err := registerConfig(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user