Selaa lähdekoodia

Service being declared in a profile must not trigger re-creation

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 1 vuosi sitten
vanhempi
sitoutus
513b6128c2
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      pkg/compose/hash.go

+ 1 - 0
pkg/compose/hash.go

@@ -33,6 +33,7 @@ func ServiceHash(o types.ServiceConfig) (string, error) {
 		o.Deploy.Replicas = nil
 	}
 	o.DependsOn = nil
+	o.Profiles = nil
 
 	bytes, err := json.Marshal(o)
 	if err != nil {