Skip to content

Commit

Permalink
Fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pritishpai committed Mar 26, 2024
1 parent 8032379 commit 3006238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/labs/ucx/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _compare_remote_local_versions(self):
try:
local_version = self._product_info.released_version()
remote_version = self._installation.load(Version).version
if extract_major_minor(remote_version) == extract_major_minor(local_version[:4]):
if extract_major_minor(remote_version) == extract_major_minor(local_version):
logger.info(f"UCX v{self._product_info.version()} is already installed on this workspace")
msg = "Do you want to update the existing installation?"
if not self._prompts.confirm(msg):
Expand Down

0 comments on commit 3006238

Please sign in to comment.