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

node['tags'] can be nil #286

Merged
merged 1 commit into from Apr 21, 2016

Conversation

Projects
None yet
2 participants
@rlaveycal
Copy link
Contributor

rlaveycal commented Mar 21, 2016

For some reason on some machines the tags array can be nil rather than empty. This causes an exception. This PR adds a simple guard condition to prevent it.

@miketheman miketheman added the optimize label Mar 21, 2016

@miketheman miketheman modified the milestone: Next minor Mar 21, 2016

@miketheman miketheman merged commit 766bd43 into DataDog:master Apr 21, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@rlaveycal rlaveycal deleted the rlaveycal:niltag branch Apr 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.