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-13428 Fix add remote instance issues. #784

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

BupycHuk
Copy link
Member

@BupycHuk BupycHuk commented Nov 7, 2024

What this PR does / why we need it:

It doesn't override address when node or agent is changed.
dropped node/agent selection for HAProxy and External exporter as it doesn't have effect.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

form?.change('address', 'localhost');
} else {
form?.change('address', '');
console.log(form?.getState().values?.address);
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
console.log(form?.getState().values?.address);

} else {
form?.change('address', '');
console.log(form?.getState().values?.address);
if (form?.getState().values?.address === undefined || form?.getState().values?.address === '' ) {
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
if (form?.getState().values?.address === undefined || form?.getState().values?.address === '' ) {
if (!form?.getState().values?.address) {

Copy link
Collaborator

@matejkubinec matejkubinec left a comment

Choose a reason for hiding this comment

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

Outside of the one comment, just what Alex pointed out.

@BupycHuk BupycHuk merged commit 7d5c2e6 into v3 Nov 8, 2024
2 of 3 checks passed
@BupycHuk BupycHuk deleted the PMM-13428-fix-remote-instance-issues branch November 8, 2024 11:51
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.

4 participants