diff --git a/cid/helpers/quicksight/dashboard.py b/cid/helpers/quicksight/dashboard.py index 401219ae..3f70ef49 100644 --- a/cid/helpers/quicksight/dashboard.py +++ b/cid/helpers/quicksight/dashboard.py @@ -103,13 +103,13 @@ def status(self) -> str: def display_status(self) -> None: """Display status of dashboard""" - cid_print('\nDashboard status:') - cid_print(f" Name (id): {self.name} ({self.id})") - cid_print(f" Health: {'healthy' if self.health else 'unhealthy'}") - cid_print(f" Status: {'' + self.status + '' if self.health else '' + self.status + ''}") + cid_print('\nDashboard status:') + cid_print(f" Name (id)<:END> {self.name} ({self.id})") + cid_print(f" Health: {'healthy' if self.health else 'unhealthy'}") + cid_print(f" Status: {'' + self.status + '' if self.health else '' + self.status + ''}") if self.status_detail: - cid_print(f" Status detail: {self.status_detail}") + cid_print(f" Status detail: {self.status_detail}") cid_version = "N/A" cid_version_latest = "N/A" @@ -126,12 +126,12 @@ def display_status(self) -> None: logger.debug("The latest version of the dashboard could not be retrieved") if self.latest: - cid_print(f" Version {cid_version} (latest)") - cid_print(f" VersionId {self.deployed_version} (latest)") + cid_print(f" Version: {cid_version} (latest)") + cid_print(f" VersionId: {self.deployed_version} (latest)") else: logger.debug("An update is available") - cid_print(f" Version {str(cid_version): <8} --> {str(cid_version_latest): <8}") - cid_print(f" VersionId {str(self.deployed_version): <8} --> {str(self.latest_version): <8}") + cid_print(f" Version: {str(cid_version): <8} --> {str(cid_version_latest): <8}") + cid_print(f" VersionId: {str(self.deployed_version): <8} --> {str(self.latest_version): <8}") cid_print(' Owners:') try: @@ -144,7 +144,7 @@ def display_status(self) -> None: cid_print(' AccessDenied') if self.datasets: - cid_print(f" Datasets:") + cid_print(f" Datasets:") for dataset_name, dataset_id in sorted(self.datasets.items()): status = self.qs.get_dataset_last_ingestion(dataset_id) or 'DIRECT' cid_print(f' {dataset_name: <36} ({dataset_id: <36}) {status}')