Skip to content

Commit

Permalink
Update bridge.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Mchaag authored Jan 17, 2019
1 parent 1bc9f95 commit 38db579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (b *Bridge) newService(port ServicePort, isgroup bool) *Service {
service := new(Service)
service.Origin = port
service.ID = hostname + ":" + container.Name[1:] + ":" + port.ExposedPort
service.Name = serviceName
service.Name = serviceName + "-" + defaultName
if isgroup && !metadataFromPort["name"] {
service.Name += "-" + port.ExposedPort
}
Expand Down

0 comments on commit 38db579

Please sign in to comment.