Skip to content

Commit 4193599

Browse files
authored
chore: remove a copy-paste error in comment (#2554)
## Overview A comment contains a stray piece of code at the end, likely from a copy-paste error.
1 parent e6d7ac1 commit 4193599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/metrics_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (m *Manager) sendNonBlockingSignalWithMetrics(ch chan<- struct{}, channelNa
5050

5151
// updateChannelMetrics updates the buffer usage metrics for all channels
5252
func (m *Manager) updateChannelMetrics() {
53-
// Update channel buffer usage if m.metrics.ChannelBufferUsage["header_in"] != nil {
53+
// Update channel buffer usage
5454
m.metrics.ChannelBufferUsage["header_in"].Set(float64(len(m.headerInCh)))
5555

5656
m.metrics.ChannelBufferUsage["data_in"].Set(float64(len(m.dataInCh)))

0 commit comments

Comments
 (0)