We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dstack event
1 parent 5b03ca2 commit ee122e1Copy full SHA for ee122e1
1 file changed
src/dstack/_internal/cli/services/events.py
@@ -52,11 +52,13 @@ def print_event(event: Event) -> None:
52
targets = ", ".join(f"{target.type} {target.name}" for target in event.targets)
53
message = [
54
Text(f"[{recorded_at}]", style="log.time"),
55
- Text(event.message, style="log.message"),
56
- Text(f"[{targets}]", style="secondary"),
57
]
58
if event.actor_user:
59
- message.append(Text(f"👤 {event.actor_user}"))
+ message.append(Text(f"[👤{event.actor_user}]", style="secondary"))
+ message += [
+ Text(f"[{targets}]", style="secondary"),
60
+ Text(event.message, style="log.message"),
61
+ ]
62
console.print(
63
*message,
64
soft_wrap=True, # Strictly one line per event. Allows for grepping
0 commit comments