소스 검색

service hash must exlude depends_on

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 1 년 전
부모
커밋
d658fecc63
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pkg/compose/hash.go

+ 1 - 0
pkg/compose/hash.go

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