Skip to content

Commit

Permalink
Merge pull request #32128 from vdemeester/30836-set-alias-to-servicename
Browse files Browse the repository at this point in the history
Set the alias to the service name instead of the network name
  • Loading branch information
vdemeester committed Mar 28, 2017
2 parents c5f178d + ee08c85 commit 4155343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/stack/deploy_bundlefile.go
Expand Up @@ -54,7 +54,7 @@ func deployBundle(ctx context.Context, dockerCli *command.DockerCli, opts deploy
for _, networkName := range service.Networks {
nets = append(nets, swarm.NetworkAttachmentConfig{
Target: namespace.Scope(networkName),
Aliases: []string{networkName},
Aliases: []string{internalName},
})
}

Expand Down

0 comments on commit 4155343

Please sign in to comment.