From bdd44604c847239f5e8c04d8465933275703e43b Mon Sep 17 00:00:00 2001 From: "doudaohu@gmail.com" Date: Thu, 26 Dec 2024 19:08:40 +0800 Subject: [PATCH] fix 1358 Solve the problem of dependency change status not being updated --- pkg/engine/operation/graph/resource_node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/engine/operation/graph/resource_node.go b/pkg/engine/operation/graph/resource_node.go index 057da310..e7a3d537 100644 --- a/pkg/engine/operation/graph/resource_node.go +++ b/pkg/engine/operation/graph/resource_node.go @@ -347,6 +347,7 @@ func (rn *ResourceNode) applyResource(operation *models.Operation, prior, planed log.Debugf("import resource:%s, resource:%v", planed.ID, json.Marshal2String(s)) res = response.Resource } else { + prior.DependsOn = planed.DependsOn res = prior } default: