From 5a36314cdde0b5136a177ef8d258abd423a3440f Mon Sep 17 00:00:00 2001 From: Roman Skurikhin Date: Mon, 22 Mar 2021 15:30:52 +0200 Subject: [PATCH 1/2] Do print about removed in by default --- neuro-cli/src/neuro_cli/disks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neuro-cli/src/neuro_cli/disks.py b/neuro-cli/src/neuro_cli/disks.py index 1f5b6d995..9405472ae 100644 --- a/neuro-cli/src/neuro_cli/disks.py +++ b/neuro-cli/src/neuro_cli/disks.py @@ -148,7 +148,7 @@ async def rm(root: Root, disks: Sequence[str]) -> None: for disk in disks: disk_id = await resolve_disk(disk, client=root.client) await root.client.disks.rm(disk_id) - if root.verbosity > 0: + if root.verbosity >= 0: root.print(f"Disk with id '{disk_id}' was successfully removed.") From 870e5cc2a55c3d1495ccc6dbf636da7e60c10597 Mon Sep 17 00:00:00 2001 From: Roman Skurikhin Date: Wed, 24 Mar 2021 13:30:16 +0200 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.D/2056.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 CHANGELOG.D/2056.feature diff --git a/CHANGELOG.D/2056.feature b/CHANGELOG.D/2056.feature new file mode 100644 index 000000000..59c0f83fb --- /dev/null +++ b/CHANGELOG.D/2056.feature @@ -0,0 +1 @@ +Added printing of ids of removed disk in `neuro disk rm`.