Skip to content

Commit

Permalink
Fix Rubocop block offence in container provider remove_link method
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Jul 10, 2014
1 parent 94e70d7 commit a5f8ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ def remove_link
rm_args = cli_args(
'link' => true
)
link_args = Array(new_resource.link).map { |link|
link_args = Array(new_resource.link).map do |link|
container_name + '/' + link
}
end
docker_cmd!("rm #{rm_args} #{link_args.join(' ')}")
end

Expand Down

0 comments on commit a5f8ed8

Please sign in to comment.