Skip to content

Commit 8057e16

Browse files
authored
Merge pull request #6815 from microsoft/endgame-202207
Merge endgame to next branch
2 parents 954df9c + 2d19361 commit 8057e16

File tree

1 file changed

+3
-3
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/creation

1 file changed

+3
-3
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-containerservice/src/main/java/com/microsoft/azure/toolkit/intellij/containerservice/creation/KubernetesCreationDialog.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ private AzureValidationInfo validateKubernetesClusterName() {
263263
private AzureValidationInfo validateDnsNamePrefix() {
264264
final String name = txtDnsPrefix.getValue();
265265
if (StringUtils.isEmpty(name)) {
266-
return AzureValidationInfo.error(AzureMessageBundle.message("kubernetes.cluster.dnsNamePrefix.validate.empty").toString(), txtName);
266+
return AzureValidationInfo.error(AzureMessageBundle.message("kubernetes.cluster.dnsNamePrefix.validate.empty").toString(), txtDnsPrefix);
267267
}
268268
if (!DNS_NAME_PREFIX_PATTERN.matcher(name).matches()) {
269-
return AzureValidationInfo.error(AzureMessageBundle.message("kubernetes.cluster.dnsNamePrefix.validate.invalid").toString(), txtName);
269+
return AzureValidationInfo.error(AzureMessageBundle.message("kubernetes.cluster.dnsNamePrefix.validate.invalid").toString(), txtDnsPrefix);
270270
}
271-
return AzureValidationInfo.success(txtName);
271+
return AzureValidationInfo.success(txtDnsPrefix);
272272
}
273273

274274
// CHECKSTYLE IGNORE check FOR NEXT 1 LINES

0 commit comments

Comments
 (0)