New ๐ŸŒŠ wave for @helm

Commit 20ae7b64

20ae7b6426d6Merged

Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 2 files ยท ~2 modified

Description

refactor: move to p.Graph()

Signed-off-by: Dmitriy Zhilyaev [email protected]

Details

Commit
20ae7b6426d6
Parent
14f8d6997354

pkg/plan/down.gomodifiedView file

@@ -11,12 +11,7 @@
1111
1212 // Down destroys all releases that exist in a plan.
1313 func (p *Plan) Down(ctx context.Context) (err error) {
14- dependenciesGraph, err := p.body.generateDependencyGraph()
15- if err != nil {
16- return err
17- }
18-
19- dependenciesGraph, err = dependenciesGraph.Reverse()
14+ dependenciesGraph, err := p.Graph().Reverse()
2015 if err != nil {
2116 return err
2217 }