Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Sep 3, 2024
1 parent 0c9e1c2 commit aedbafc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mlx/coverity/coverity.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def initialize_environment(self, app):
\\makeatother"""

self.stream = app.config.coverity_credentials["stream"]
self.snaphsot = app.config.coverity_credentials["snapshot"]
self.snapshot = app.config.coverity_credentials["snapshot"]
# Login to Coverity and obtain stream information
try:
self.input_credentials(app.config.coverity_credentials)
Expand All @@ -61,9 +61,9 @@ def initialize_environment(self, app):
report_info("Verify the given stream name... ", True)
self.coverity_service.validate_stream(self.stream)
report_info("done")
if self.snaphsot:
if self.snapshot:
report_info("Verify the given snapshot ID and obtain all enabled checkers... ", True)
self.coverity_service.validate_snapshot(self.snaphsot)
self.coverity_service.validate_snapshot(self.snapshot)
report_info("done")
# Get all column keys
report_info("obtaining all column keys... ", True)
Expand Down Expand Up @@ -150,7 +150,7 @@ def get_filtered_defects(self, node):
column_names = set(node["col"])
if "chart_attribute" in node and node["chart_attribute"].upper() in node.column_map:
column_names.add(node["chart_attribute"])
defects = self.coverity_service.get_defects(self.stream, node["filters"], column_names, self.snaphsot)
defects = self.coverity_service.get_defects(self.stream, node["filters"], column_names, self.snapshot)
report_info("%d received" % (defects["totalRows"]))
report_info("building defects table and/or chart... ", True)
return defects
Expand Down

0 comments on commit aedbafc

Please sign in to comment.