Skip to content

Commit d6c3d18

Browse files
Eslam-Nawaraashraffouda
authored andcommitted
return error if failed to initialize modules
1 parent 2287d58 commit d6c3d18

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmds/modules/provisiond/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ func action(cli *cli.Context) error {
365365
// call the runtime upgrade before running engine
366366
if err := provisioners.Initialize(ctx); err != nil {
367367
log.Error().Err(err).Msg("failed to run provisioners initializers")
368+
return err
368369
}
369370

370371
// spawn the engine

0 commit comments

Comments
 (0)