missed go fmt'ing.

This commit is contained in:
Peter Miron
2017-06-10 10:39:09 -04:00
parent d1f38f38a2
commit da1cb9abb2
3 changed files with 7 additions and 7 deletions

View File

@@ -6,8 +6,8 @@ import (
"os"
"sync/atomic"
"github.com/nats-io/gnatsd/logger"
"fmt"
"github.com/nats-io/gnatsd/logger"
)
// Logger interface of the NATS Server

View File

@@ -23,15 +23,15 @@ const MONITOR_PORT = -1
const CLUSTER_PORT = -1
func DefaultMonitorOptions() *Options {
return &Options {
return &Options{
Host: "localhost",
Port: CLIENT_PORT,
HTTPHost: "127.0.0.1",
HTTPPort: MONITOR_PORT,
NoLog: true,
NoSigs: true,
Debug: true,
Trace: true,
NoLog: true,
NoSigs: true,
Debug: true,
Trace: true,
}
}

View File

@@ -79,7 +79,7 @@ type Server struct {
grRunning bool
grWG sync.WaitGroup // to wait on various go routines
cproto int64 // number of clients supporting async INFO
fatalError string // Captures the error string for any fatal error
fatalError string // Captures the error string for any fatal error
logging struct {
sync.RWMutex
logger Logger