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

Use length check for perfdata instead of nil check #105

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Nov 29, 2021

This change accounts for the potential to receive an empty slice in addition to a nil slice (as we were checking for prior to this change).

fixes GH-104

This change accounts for the potential to receive an empty
slice in addition to a nil slice (as we were checking for
prior to this change).

refs GH-104
@atc0005 atc0005 added bug Something isn't working performance data labels Nov 29, 2021
@atc0005 atc0005 added this to the Next Release milestone Nov 29, 2021
@atc0005 atc0005 self-assigned this Nov 29, 2021
@atc0005 atc0005 merged commit 843f695 into master Nov 29, 2021
@atc0005 atc0005 deleted the i104-use-length-check-instead-of-nil-check branch November 29, 2021 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swap nil PerformanceData check for length check
1 participant