Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-7 fix UI upgrade #2491

Merged
merged 2 commits into from
Sep 19, 2023
Merged

PMM-7 fix UI upgrade #2491

merged 2 commits into from
Sep 19, 2023

Conversation

BupycHuk
Copy link
Member

PMM-7

Link to the Feature Build: SUBMODULES-0

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

@BupycHuk BupycHuk requested review from talhabinrizwan and a team as code owners September 19, 2023 07:00
@BupycHuk BupycHuk requested review from idoqo, artemgavrilov and ademidoff and removed request for a team September 19, 2023 07:00
@BupycHuk BupycHuk changed the title PMM-7-fix-ui-upgrade PMM-7 fix UI upgrade Sep 19, 2023
@@ -173,6 +173,6 @@
state: absent
path: /usr/share/pmm-server/maintenance/maintenance.html
# We use current_version_file['failed'] because we don't want to run this on creating container
when: not ui_upgrade and current_version_file['failed'] == false
when: not ui_upgrade and current_version_file['failed'] == false and not pmm_current_version is version(pmm_image_version, '>=')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
when: not ui_upgrade and current_version_file['failed'] == false and not pmm_current_version is version(pmm_image_version, '>=')
when:
- not ui_upgrade
- current_version_file['failed'] == false
- not pmm_current_version is version(pmm_image_version, '>=')

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not crucial, but much better to read and comprehend

@BupycHuk BupycHuk merged commit bb159fa into main Sep 19, 2023
11 checks passed
@BupycHuk BupycHuk deleted the PMM-7-fix-ui-upgrade branch September 19, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants