mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
exclude unstable labels from config hash
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
b19df5c96c
commit
256ec49974
@ -424,7 +424,7 @@ func (s *composeService) recreateContainer(ctx context.Context, project *types.P
|
||||
}
|
||||
name := getContainerName(project.Name, service, number)
|
||||
tmpName := fmt.Sprintf("%s_%s", replaced.ID[:12], name)
|
||||
service.Labels[api.ContainerReplaceLabel] = replaced.ID
|
||||
service.CustomLabels[api.ContainerReplaceLabel] = replaced.ID
|
||||
created, err = s.createMobyContainer(ctx, project, service, tmpName, number, inherited, false, true, false, w)
|
||||
if err != nil {
|
||||
return created, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user