Skip to content

Commit

Permalink
Fix call to method
Browse files Browse the repository at this point in the history
  • Loading branch information
jordap committed Aug 2, 2024
1 parent fdee9ae commit df2c710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omnistat/collector_rms.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def updateMetrics(self):

# Check for user supplied annotations
if self.__annotationsEnabled:
updateAnnotations(jobid=results["RMS_JOB_ID"])
self.updateAnnotations(results["RMS_JOB_ID"])

# Case when no job detected
else:
Expand All @@ -210,7 +210,7 @@ def updateMetrics(self):

return

def updateAnnotations(jobid):
def updateAnnotations(self, jobid):
# Reset annotations when a new job is running
if jobid != self.__annotationsJobID:
self.__spans = {}
Expand Down

0 comments on commit df2c710

Please sign in to comment.