Skip to content

Commit 7c4b1ae

Browse files
authored
Generate debug dot graph before the validation (#212)
If the validation step fails, we do not have the dot graph to check what went wrong. Thus, it is more helpful to validate after the dot graph was generated.
1 parent 7ed4851 commit 7c4b1ae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,6 @@ func runIt(recipe playground.Recipe) error {
198198
svcManager := playground.NewManifest(exCtx, artifacts.Out)
199199

200200
recipe.Apply(svcManager)
201-
if err := svcManager.Validate(); err != nil {
202-
return fmt.Errorf("failed to validate manifest: %w", err)
203-
}
204201

205202
// generate the dot graph
206203
dotGraph := svcManager.GenerateDotGraph()

0 commit comments

Comments
 (0)