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

Handle the case where "text_file" may be set, but the target file may be empty or missing. #47

Conversation

matthope
Copy link
Contributor

No description provided.

@jhunt jhunt merged commit 186adf7 into cloudfoundry-community:master Mar 1, 2018
@jhunt
Copy link
Contributor

jhunt commented Mar 1, 2018

Thanks!

jmcarp added a commit to jmcarp/slack-notification-resource that referenced this pull request Mar 22, 2018
jmcarp added a commit to cloud-gov/cg-deploy-prometheus that referenced this pull request Mar 22, 2018
jmcarp added a commit to jmcarp/slack-notification-resource that referenced this pull request Mar 22, 2018
Before cloudfoundry-community#47, setting `text_file` to an empty or missing file resulted in
no notification being sent. After cloudfoundry-community#47, setting `text_file` to an empty
file continued to result in no notification, but setting to an empty
file sent a notification. This patch updates docs and tests to clarify
the current expected behavior around empty and missing text files.
jmcarp added a commit to cloud-gov/cg-pipeline-tasks that referenced this pull request Mar 23, 2018
drnic pushed a commit that referenced this pull request Mar 23, 2018
Before #47, setting `text_file` to an empty or missing file resulted in
no notification being sent. After #47, setting `text_file` to an empty
file continued to result in no notification, but setting to an empty
file sent a notification. This patch updates docs and tests to clarify
the current expected behavior around empty and missing text files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants