diff --git a/omnistat/collector_rms.py b/omnistat/collector_rms.py index 3c11493..2b66f30 100644 --- a/omnistat/collector_rms.py +++ b/omnistat/collector_rms.py @@ -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: @@ -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 = {}