Skip to content

Commit

Permalink
added more regex patterns to openstack
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-dash committed Dec 28, 2023
1 parent 10585ec commit c85584f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtab/context_highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class OpenstackRegexHighlighter(RegexHighlighter): # pylint: disable=too-few-pu
"""Highlight rules specific to openstack."""

highlights = [
r"(?P<positive>active|ACTIVE|\B:\-\)\B|True|UP)",
r"(?P<negative>XXX|down|disabled|False|DOWN)",
r"(?P<positive>active|ACTIVE|enabled|\B:\-\)\B|True|UP|available|ONLINE|up)",
r"(?P<negative>XXX|\bERROR\b|down|disabled|False|DOWN|error|OFFLINE|DEGRADED)",
]


Expand Down

0 comments on commit c85584f

Please sign in to comment.