lib/harbr/job.rb in harbr-0.1.94 vs lib/harbr/job.rb in harbr-0.1.95
- old
+ new
@@ -70,10 +70,10 @@
if(container.name.start_with?("live"))
plain_name = host_header_alias.gsub("live.","")
container = Harbr::Container.new
container.name = "#{name} -> #{plain_name}"
- container.host_header = remove_dot_from_string(plain_name)
+ container.host_header = plain_name
container.ip = "127.0.0.1"
container.port = port
unless containers.find_by_header(container.host_header)