Skip to content

Commit 9f8ce01

Browse files
committed
fixed compile issue.
1 parent b801626 commit 9f8ce01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/toolkit/intellij/mysql/creation/MySQLCreationAdvancedPanel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import com.microsoft.azure.toolkit.intellij.database.ui.ConnectionSecurityPanel;
1616
import com.microsoft.azure.toolkit.intellij.database.AdminUsernameTextField;
1717
import com.microsoft.azure.toolkit.intellij.database.PasswordUtils;
18+
import com.microsoft.azure.toolkit.intellij.mysql.MySQLRegionValidator;
1819
import com.microsoft.azure.toolkit.intellij.mysql.ServerNameTextField;
1920
import com.microsoft.azure.toolkit.intellij.mysql.VersionComboBox;
2021
import com.microsoft.azure.toolkit.lib.common.form.AzureFormInput;
@@ -68,7 +69,7 @@ public class MySQLCreationAdvancedPanel extends JPanel implements AzureFormPanel
6869
private void init() {
6970
passwordFieldInput = PasswordUtils.generatePasswordFieldInput(this.passwordField, this.adminUsernameTextField);
7071
confirmPasswordFieldInput = PasswordUtils.generateConfirmPasswordFieldInput(this.confirmPasswordField, this.passwordField);
71-
regionComboBox.setValidateFunction();
72+
regionComboBox.setValidateFunction(new MySQLRegionValidator());
7273
}
7374

7475
private void initListeners() {

0 commit comments

Comments
 (0)