Skip to content

Commit 513b612

Browse files
committed
Service being declared in a profile must not trigger re-creation
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent eececb9 commit 513b612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compose/hash.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func ServiceHash(o types.ServiceConfig) (string, error) {
3333
o.Deploy.Replicas = nil
3434
}
3535
o.DependsOn = nil
36+
o.Profiles = nil
3637

3738
bytes, err := json.Marshal(o)
3839
if err != nil {

0 commit comments

Comments
 (0)