Change service name in rancher provider to make webui service details view work

This commit is contained in:
Manuel Zapf 2019-11-27 11:12:07 +01:00 committed by Traefiker Bot
parent 00db3a0922
commit 5b1dc0bfbd

View file

@ -193,7 +193,7 @@ func (p *Provider) parseMetadataSourcedRancherData(ctx context.Context, stacks [
} }
service := rancherData{ service := rancherData{
Name: service.Name + "/" + stack.Name, Name: service.Name + "_" + stack.Name,
State: service.State, State: service.State,
Labels: service.Labels, Labels: service.Labels,
Port: servicePort, Port: servicePort,