Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-1024] Prevent false alarm from empty campaigns. #7

Merged
merged 2 commits into from
Aug 26, 2019

Conversation

heathdutton
Copy link
Member

Please be sure you are submitting this against the master branch.

//: # This Pull Request (Place an 'X' for each):

Risk Level No Low High
Alters Lead Data? X
Schema Change? X
Adds A Query or Modifies Existing Query? X
Adds or Modifies Existing Auto-Enhancer? X
Modifies Ingestion Process? X
Modifies sendContact Data? X

Description:

Just prevents alerts when there's a delay for campaigns due to the fact that there are no events in the campaign, as that's expected behavior.

}
if ($campaignId) {
return isset($this->publishedCampaignsWithEvents[$campaignId]) ? $this->publishedCampaignsWithEvents[$campaignId] : null;
} else {
Copy link

@ghost ghost Aug 26, 2019

Choose a reason for hiding this comment

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

This else statement isn't needed, just my preference though.

Copy link
Member Author

Choose a reason for hiding this comment

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

agreed, next time I'm in there I'll clean up. This was copy pasta.

@heathdutton heathdutton merged commit 77000a9 into master Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants