Skip to content

Commit 91b0b82

Browse files
fix typos in MetricsReporter docs
1 parent 5043807 commit 91b0b82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

p2p/host/resource-manager/metrics.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ type MetricsReporter interface {
2727
AllowProtocol(proto protocol.ID)
2828
// BlockProtocol is invoked when setting the protocol for a stream is blocked
2929
BlockProtocol(proto protocol.ID)
30-
// BlockedProtocolPeer is invoekd when setting the protocol for a stream is blocked at the per protocol peer scope
30+
// BlockProtocolPeer is invoked when setting the protocol for a stream is blocked at the per protocol peer scope
3131
BlockProtocolPeer(proto protocol.ID, p peer.ID)
3232

33-
// AllowPService is invoked when setting the protocol for a stream is allowed
33+
// AllowService is invoked when setting the protocol for a stream is allowed
3434
AllowService(svc string)
35-
// BlockPService is invoked when setting the protocol for a stream is blocked
35+
// BlockService is invoked when setting the protocol for a stream is blocked
3636
BlockService(svc string)
37-
// BlockedServicePeer is invoked when setting the service for a stream is blocked at the per service peer scope
37+
// BlockServicePeer is invoked when setting the service for a stream is blocked at the per service peer scope
3838
BlockServicePeer(svc string, p peer.ID)
3939

4040
// AllowMemory is invoked when a memory reservation is allowed

0 commit comments

Comments
 (0)