From c9e02dd7d83ee165370ba6b9d9ff55556677c35f Mon Sep 17 00:00:00 2001 From: tedder Date: Tue, 19 May 2015 10:59:49 -0700 Subject: [PATCH] use newer required_one_of syntax; unsure why there's app_name vs appname, so leaving it alone. --- monitoring/newrelic_deployment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monitoring/newrelic_deployment.py b/monitoring/newrelic_deployment.py index 326e7a0ca75..87658e333c7 100644 --- a/monitoring/newrelic_deployment.py +++ b/monitoring/newrelic_deployment.py @@ -102,6 +102,7 @@ def main(): environment=dict(required=False), validate_certs = dict(default='yes', type='bool'), ), + required_one_of=[['app_name', 'application_id']], supports_check_mode=True )