Skip to content

Commit eae722b

Browse files
committed
Fix call to method
1 parent c2a8c82 commit eae722b

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
@@ -178,7 +178,7 @@ def updateMetrics(self):
178178

179179
# Check for user supplied annotations
180180
if self.__annotationsEnabled:
181-
updateAnnotations(jobid=results["RMS_JOB_ID"])
181+
self.updateAnnotations(results["RMS_JOB_ID"])
182182

183183
# Case when no job detected
184184
else:
@@ -188,7 +188,7 @@ def updateMetrics(self):
188188

189189
return
190190

191-
def updateAnnotations(jobid):
191+
def updateAnnotations(self, jobid):
192192
# Reset annotations when a new job is running
193193
if jobid != self.__annotationsJobID:
194194
self.__spans = {}

0 commit comments

Comments
 (0)