diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-08-22 09:45:57 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-08-24 13:50:58 +0530 |
commit | bc3b330a614449d496e0e204bc55197424f6c9b8 (patch) | |
tree | 6efe071132fad62c747a0c77959bac3347cca2ee /lib/chef/knife | |
parent | cbba43de4f64d82135427adb41ffcae686760eea (diff) | |
download | chef-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.rb | 5 |
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 |