mirror of https://github.com/apache/cloudstack.git
parent
fe262caa75
commit
44bc2beb14
|
|
@ -307,7 +307,9 @@ public class DomainChecker extends AdapterBase implements SecurityChecker {
|
|||
}
|
||||
}
|
||||
//didn't find in upper tree
|
||||
if (zoneDomainRecord.getPath().contains(accountDomainRecord.getPath())) {
|
||||
if (zoneDomainRecord != null &&
|
||||
accountDomainRecord != null &&
|
||||
zoneDomainRecord.getPath().contains(accountDomainRecord.getPath())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue