Skip to content

Commit 2404cd5

Browse files
committed
Fix argument name
1 parent 38b6772 commit 2404cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def register(self, collector):
4242
with self._lock:
4343
self._collectors.add(collector)
4444

45-
def unregister(self, metric):
45+
def unregister(self, collector):
4646
'''Remove a collector from the registry.'''
4747
with self._lock:
4848
self._collectors.remove(collector)

0 commit comments

Comments
 (0)