mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
fixed go fmt'ing
This commit is contained in:
@@ -510,7 +510,7 @@ func (s *Server) startMonitoring(secure bool) error {
|
||||
hp string
|
||||
err error
|
||||
httpListener net.Listener
|
||||
port int
|
||||
port int
|
||||
)
|
||||
|
||||
if secure {
|
||||
|
||||
@@ -363,4 +363,4 @@ func TestNilMonitoringPort(t *testing.T) {
|
||||
if s.MonitorAddr() != nil {
|
||||
t.Fatal("HttpAddr should be nil.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user