Skip to content

Commit

Permalink
Merge pull request #260 from fxposter/systemd-port-fix
Browse files Browse the repository at this point in the history
Fix accidental port changing when using systemd templates.
  • Loading branch information
Tom Duffield committed Jan 30, 2015
2 parents 44d97a0 + f4cc594 commit c0f2110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def service_template

def sockets
return [] if port.empty?
[*port].map { |p| p.gsub!(/.*:/, '') }
[*port].map { |p| p.gsub(/.*:/, '') }
end

def start
Expand Down

0 comments on commit c0f2110

Please sign in to comment.