Browse Source

fix a small print formatting in displaying the metrics reporting interval

Alan Shreve 12 years ago
parent
commit
5fd65be3cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ngrok/server/metrics.go

+ 1 - 1
src/ngrok/server/metrics.go

@@ -128,7 +128,7 @@ func (m *LocalMetrics) CloseConnection(t *Tunnel, c conn.Conn, start time.Time,
 }
 
 func (m *LocalMetrics) Report() {
-	m.Info("Reporting every %d seconds", m.reportInterval.Seconds())
+	m.Info("Reporting every %d seconds", int(m.reportInterval.Seconds()))
 
 	for {
 		time.Sleep(m.reportInterval)