summaryrefslogtreecommitdiff
path: root/lib/chef/knife
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-08-22 09:45:57 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-08-24 13:50:58 +0530
commitbc3b330a614449d496e0e204bc55197424f6c9b8 (patch)
tree6efe071132fad62c747a0c77959bac3347cca2ee /lib/chef/knife
parentcbba43de4f64d82135427adb41ffcae686760eea (diff)
downloadchef-bc3b330a614449d496e0e204bc55197424f6c9b8.tar.gz
Fix failing specs
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'lib/chef/knife')
-rw-r--r--lib/chef/knife/config_list_profiles.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/knife/config_list_profiles.rb b/lib/chef/knife/config_list_profiles.rb
index f8052e83e1..0b64ee6398 100644
--- a/lib/chef/knife/config_list_profiles.rb
+++ b/lib/chef/knife/config_list_profiles.rb
@@ -93,7 +93,7 @@ class Chef
private
- def render_table(profiles, padding: 2)
+ def render_table(profiles, padding: 1)
rows = []
# Render the data to a 2D array that will be used for the table.
profiles.each do |profile|
@@ -126,8 +126,7 @@ class Chef
else
table.render do |renderer|
renderer.border do
- mid "-"
- mid_mid " "
+ mid "-"
style :green
end
renderer.padding = [0, padding, 0, 0] # pad right with 2 characters