Actually fix typo
This commit is contained in:
parent
1266a7808c
commit
577575a430
|
@ -20,7 +20,7 @@ var (
|
|||
Help: "Total number of clients.",
|
||||
})
|
||||
|
||||
metricreceived = promauto.NewCounter(prometheus.CounterOpts{
|
||||
metricReceived = promauto.NewCounter(prometheus.CounterOpts{
|
||||
Namespace: "codies",
|
||||
Subsystem: "codies",
|
||||
Name: "received_total",
|
||||
|
|
|
@ -289,7 +289,7 @@ func (r *Room) HandleConn(playerID uuid.UUID, nickname string, c *websocket.Conn
|
|||
}
|
||||
|
||||
r.lastSeen.Store(time.Now())
|
||||
metricRecieved.Inc()
|
||||
metricReceived.Inc()
|
||||
|
||||
if err := r.handleNote(playerID, ¬e); err != nil {
|
||||
log.Println("error handling note:", err)
|
||||
|
|
Loading…
Reference in New Issue