Skip to content

Commit

Permalink
fix(cli): forgot to fix display of update bot in #200 (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu authored Feb 14, 2025
1 parent efe69f3 commit b403bd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion silverback/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,9 @@ def update_bot(
click.echo(yaml.safe_dump(bot_dump))
if bot.environment:
click.echo("environment:")
click.echo(yaml.safe_dump([var.model_dump() for var in bot.vargroups]))
click.echo(
yaml.safe_dump([var.model_dump(exclude={"id", "created"}) for var in bot.vargroups])
)


@bots.command(name="remove", section="Configuration Commands")
Expand Down

0 comments on commit b403bd6

Please sign in to comment.