removed obsolete command line argument "disable-shutdown-event"
This commit is contained in:
@@ -2,7 +2,6 @@ package core
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"flag"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
@@ -49,17 +48,6 @@ func (c *Core) Stop() error {
|
|||||||
return nil
|
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 {
|
func prep() error {
|
||||||
// init config
|
// init config
|
||||||
if err := registerConfig(); err != nil {
|
if err := registerConfig(); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user