|
5 | 5 | import click |
6 | 6 |
|
7 | 7 | from orca_cli.core.context import OrcaContext |
8 | | -from orca_cli.core.output import output_options, print_list, print_detail, console |
| 8 | +from orca_cli.core.output import console, output_options, print_detail, print_list |
9 | 9 |
|
10 | 10 |
|
11 | 11 | def _freezer(client) -> str: |
@@ -172,10 +172,10 @@ def job_show(ctx: click.Context, job_id: str, output_format: str, |
172 | 172 | for i, a in enumerate(actions): |
173 | 173 | fa = a.get("freezer_action", {}) |
174 | 174 | fields.append((f" Action {i + 1}", fa.get("action", ""))) |
175 | | - fields.append((f" Path", fa.get("path_to_backup", "") or fa.get("restore_abs_path", "") or "—")) |
176 | | - fields.append((f" Container", fa.get("container", "") or "—")) |
177 | | - fields.append((f" Storage", fa.get("storage", "") or "—")) |
178 | | - fields.append((f" Mode", fa.get("mode", "") or "—")) |
| 175 | + fields.append((" Path", fa.get("path_to_backup", "") or fa.get("restore_abs_path", "") or "—")) |
| 176 | + fields.append((" Container", fa.get("container", "") or "—")) |
| 177 | + fields.append((" Storage", fa.get("storage", "") or "—")) |
| 178 | + fields.append((" Mode", fa.get("mode", "") or "—")) |
179 | 179 |
|
180 | 180 | print_detail(fields, output_format=output_format, fit_width=fit_width, |
181 | 181 | max_width=max_width, noindent=noindent, columns=columns) |
|
0 commit comments