Skip to content

Commit b148ae7

Browse files
committed
Fix call to method
Signed-off-by: Jordà Polo <[email protected]>
1 parent d9ad146 commit b148ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

omnistat/collector_rms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def updateMetrics(self):
183183

184184
# Check for user supplied annotations
185185
if self.__annotationsEnabled:
186-
updateAnnotations(jobid=results["RMS_JOB_ID"])
186+
self.updateAnnotations(results["RMS_JOB_ID"])
187187

188188
# Case when no job detected
189189
else:
@@ -193,7 +193,7 @@ def updateMetrics(self):
193193

194194
return
195195

196-
def updateAnnotations(jobid):
196+
def updateAnnotations(self, jobid):
197197
# Reset annotations when a new job is running
198198
if jobid != self.__annotationsJobID:
199199
self.__spans = {}

0 commit comments

Comments
 (0)