Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2018-12-05 16:00:30 -08:00
parent a95fa1a8e9
commit f3f623565c
2 changed files with 1 additions and 3 deletions

View File

@@ -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)
}

View File

@@ -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