Skip to content

Commit

Permalink
Output OK messages... (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
terjekv authored Oct 16, 2024
1 parent b4527ac commit e388c2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mreg_cli/outputmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ def filtered_output(self) -> list[str]:
def render(self) -> None:
"""Print the output to stdout, and records it if recording is active."""
self.recording_output()

for line in self._ok:
print(f"OK: {line}")

for line in self.filtered_output():
print(line)

Expand Down

0 comments on commit e388c2e

Please sign in to comment.