Skip to content

Commit 7f0b778

Browse files
authored
Fix prompt for using external metastore (#1668)
## Changes A period and space were missing in the prompt for using external metastore ### Functionality - [ ] added relevant user documentation - [ ] added new CLI command - [ ] modified existing command: `databricks labs ucx ...` - [ ] added a new workflow - [ ] modified existing workflow: `...` - [ ] added a new table - [ ] modified existing table: `...` ### Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [x] manually tested - [ ] added unit tests - [ ] added integration tests - [ ] verified on staging environment (screenshot attached)
1 parent f321e41 commit 7f0b778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/databricks/labs/ucx/installer/policy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def create(self, inventory_database: str) -> tuple[str, str, dict, str | None]:
3939
instance_pool_id = self._get_instance_pool_id()
4040
policies_with_external_hms = list(self._get_cluster_policies_with_external_hive_metastores())
4141
if len(policies_with_external_hms) > 0 and self._prompts.confirm(
42-
"We have identified one or more cluster policies set up for an external metastore"
42+
"We have identified one or more cluster policies set up for an external metastore. "
4343
"Would you like to set UCX to connect to the external metastore?"
4444
):
4545
logger.info("Setting up an external metastore")
@@ -50,7 +50,7 @@ def create(self, inventory_database: str) -> tuple[str, str, dict, str | None]:
5050
else:
5151
warehouse_config = self._get_warehouse_config_with_external_hive_metastore()
5252
if warehouse_config and self._prompts.confirm(
53-
"We have identified the workspace warehouse is set up for an external metastore"
53+
"We have identified the workspace warehouse is set up for an external metastore. "
5454
"Would you like to set UCX to connect to the external metastore?"
5555
):
5656
logger.info("Setting up an external metastore")

0 commit comments

Comments
 (0)