diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2017-11-27 13:20:46 -0500 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2017-11-27 13:20:46 -0500 |
commit | 0c5542ab8e529b091197637def02fc16e7edf20b (patch) | |
tree | 8846b63f0752ef627b6cb6d1df3a431bbfec2d29 /lib/chef/knife/data_bag_show.rb | |
parent | 437594e25b1bdcd5c5b0af3b2dbfcf7dac6749b8 (diff) | |
download | chef-0c5542ab8e529b091197637def02fc16e7edf20b.tar.gz |
Only warn if a secret was actually given.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'lib/chef/knife/data_bag_show.rb')
-rw-r--r-- | lib/chef/knife/data_bag_show.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/data_bag_show.rb b/lib/chef/knife/data_bag_show.rb index ea9c390f19..5df0561276 100644 --- a/lib/chef/knife/data_bag_show.rb +++ b/lib/chef/knife/data_bag_show.rb @@ -51,7 +51,7 @@ class Chef ui.warn("Encrypted data bag detected, but no secret provided for decoding. Displaying encrypted data.") format_for_display(raw_data) else - ui.warn("Unencrypted data bag detected, ignoring any provided secret options.") + ui.warn("Unencrypted data bag detected, ignoring any provided secret options.") if secret format_for_display(raw_data) end |