Skip to content

Commit

Permalink
Fix call to method
Browse files Browse the repository at this point in the history
Signed-off-by: Jordà Polo <[email protected]>
  • Loading branch information
jordap committed Oct 15, 2024
1 parent d9ad146 commit b148ae7
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 @@ -183,7 +183,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 @@ -193,7 +193,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 b148ae7

Please sign in to comment.