From a1cc151eb427a4fe1c6f5a955088a70ffbc2b797 Mon Sep 17 00:00:00 2001 From: Sergey Mezentsev Date: Tue, 5 Mar 2024 11:15:14 +0300 Subject: [PATCH] Remove the `Creation policy` row from the `dstack pool add` preview --- src/dstack/_internal/cli/commands/pool.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dstack/_internal/cli/commands/pool.py b/src/dstack/_internal/cli/commands/pool.py index a4d1cfc2b..4263333c1 100644 --- a/src/dstack/_internal/cli/commands/pool.py +++ b/src/dstack/_internal/cli/commands/pool.py @@ -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" @@ -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)