Skip to content

Commit

Permalink
Remove the Creation policy row from the dstack pool add preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Mezentsev committed Mar 5, 2024
1 parent bf9b9b1 commit a1cc151
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dstack/_internal/cli/commands/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ def print_offers_table(
) -> None:
pretty_req = requirements.pretty_format(resources_only=True)
max_price = f"${requirements.max_price:g}" if requirements.max_price else "-"
creation_policy = profile.creation_policy
termination_policy = profile.termination_policy
termination_idle_time = f"{parse_duration(profile.termination_idle_time)}s"

Expand All @@ -390,7 +389,6 @@ def th(s: str) -> str:
props.add_row(th("Min resources"), pretty_req)
props.add_row(th("Max price"), max_price)
props.add_row(th("Spot policy"), spot_policy)
props.add_row(th("Creation policy"), creation_policy)
props.add_row(th("Termination policy"), termination_policy)
props.add_row(th("Termination idle time"), termination_idle_time)

Expand Down

0 comments on commit a1cc151

Please sign in to comment.