Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #73 from fbelzunc/JENKINS-45009
Browse files Browse the repository at this point in the history
[JENKINS-45009] If getRecordFromDomain returns null report the problem
  • Loading branch information
fbelzunc committed Jun 21, 2017
2 parents c525f6c + 99e0968 commit cb19db0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -280,7 +280,7 @@ public FormValidation doValidateTest(@QueryParameter(fixEmpty = true) String nam

// There should be only one domain as the fake domain only contains one
for (ActiveDirectoryDomain activeDirectoryDomain : activeDirectoryDomains) {
if (activeDirectoryDomain.getRecordFromDomain() != null) {
if (activeDirectoryDomain.getRecordFromDomain() == null) {
return FormValidation.error(name + " doesn't look like a valid domain name");
}
}
Expand Down

0 comments on commit cb19db0

Please sign in to comment.