Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Sep 22, 2024
1 parent 14a7201 commit 5e59bdb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cookbooks/boxcutter_docker/resources/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ class Helpers

builder_names_to_delete.each do |builder_name|
context_names_to_delete = current_builders.values.
map { |builder| builder['Nodes'].map { |node| node['Endpoint'] }.
reject { |endpoint| endpoint == 'unix:///var/run/docker.sock' } }
map do |builder|
builder['Nodes'].map { |node| node['Endpoint'] }.
reject { |endpoint| endpoint == 'unix:///var/run/docker.sock' }
end
puts "MISCHA: context_names_to_delete=#{context_names_to_delete}"
Boxcutter::Docker::Helpers.buildx_rm(builder_name, user_config['user'], user_config['group'])
end
Expand Down

0 comments on commit 5e59bdb

Please sign in to comment.