Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

PI-873 fixed bug where when root domain was not resolved it wasn't sh… #115

Merged
merged 2 commits into from
Oct 27, 2016

Conversation

thellimist
Copy link
Contributor

…own in the domains overview tab

//The user cant provision the root domain or the resolve to record so we add them to the name list to prevent them
//from being added when we loop through the cpanel DNS records
$cf_dns_record_name_list = array($domain_name.'.', $this->partialZoneSet->getResolveToValue($domain_name));
if ($this->partialZoneSet->getResolveToDNSRecord($cpanel_dns_record_list) !== null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets add a comment saying we only want the record added for full zone.

Do the tests still pass? Lets write a test ensuring the record shows up if getResolveToDNSRecord returns null.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm used to running tests when pushing a commit. I think CPanel doesn't have that. I'll add that as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

It is set up to run them pre push but you'll need to run composer install to copy the hooks I think.

@jwineman jwineman merged commit e70b380 into master Oct 27, 2016
@jwineman jwineman deleted the thellimist/PI-873 branch October 27, 2016 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants