mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
2
main.go
2
main.go
@@ -92,7 +92,7 @@ func main() {
|
||||
if err != nil {
|
||||
server.PrintAndDie(fmt.Sprintf("%s: %s", exe, err))
|
||||
} else if opts.CheckConfig {
|
||||
fmt.Fprintf(os.Stderr, "nats-server: configuration file %s is valid\n", opts.ConfigFile)
|
||||
fmt.Fprintf(os.Stderr, "%s: configuration file %s is valid\n", exe, opts.ConfigFile)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
||||
@@ -651,8 +651,6 @@ func (s *Server) diffOptions(newOpts *Options) ([]option, error) {
|
||||
case "accounts":
|
||||
diffOpts = append(diffOpts, &accountsOption{})
|
||||
case "trustedkeys":
|
||||
fmt.Printf("newVal is %+v\n", newValue)
|
||||
fmt.Printf("oldVal is %+v\n", oldValue)
|
||||
diffOpts = append(diffOpts, &trustKeysOption{})
|
||||
case "gateway":
|
||||
// Not supported for now, but report warning if configuration of gateway
|
||||
|
||||
Reference in New Issue
Block a user