sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
222 stars 280 forks source link

[sensu_check] fix conditional validation of subscribers/standalone #547

Closed cwjohnston closed 7 years ago

cwjohnston commented 7 years ago

Description

Fix bug introduced by #538.

Motivation and Context

https://github.com/sensu/sensu-chef/pull/538 introduces a change which broke the build but somehow passed CI.

How Has This Been Tested?

Fixes existing broken test.

Screenshots (if appropriate):

Types of changes

Checklist:

cwjohnston commented 7 years ago

@gcymbalski thanks for pointing that out. How does it look now?

gcymbalski commented 7 years ago

Perfect!