diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-11-09 12:25:26 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-11-09 12:25:26 -0800 |
commit | f32301f8748c9480b7c95e7057566dad47cf0197 (patch) | |
tree | a2ee89497e4ae862642556bef3c97d320364b7ac | |
parent | 75b8fe9a5994834cf1d9114f53cdfc4aa10adb78 (diff) | |
download | chef-lcg/compliance-cli-reporter.tar.gz |
Uniq the requested_reporters to eliminate dup outputlcg/compliance-cli-reporter
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/compliance/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/compliance/runner.rb b/lib/chef/compliance/runner.rb index e378f6c8d7..ade35d4861 100644 --- a/lib/chef/compliance/runner.rb +++ b/lib/chef/compliance/runner.rb @@ -360,7 +360,7 @@ class Chef end def requested_reporters - Array(node["audit"]["reporter"]) + ["cli"] + (Array(node["audit"]["reporter"]) + ["cli"]).uniq end end end |