Commit 79035560
790355606489Merged
Dmitriy Zhilyaev <[email protected]> · 3 years ago · 11 files · +1 added · ~9 modified · -1 deleted
Description
fix: change to defer
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- 790355606489
- Parent
- 5b57be12cde2
pkg/hooks/global.godeleted
1-
package hooks2-
3-
type Global struct {4-
PreBuild []hook `yaml:"pre_build"`5-
PostBuild []hook `yaml:"post_build"`6-
7-
PreUp []hook `yaml:"pre_up"`8-
PostUp []hook `yaml:"post_up"`9-
10-
PreRollback []hook `yaml:"pre_rollback"`11-
PostRollback []hook `yaml:"post_rollback"`12-
13-
PreDown []hook `yaml:"pre_down"`14-
PostDown []hook `yaml:"post_down"`15-
}16-
17-
func Run(hooks []hook) {18-
for _, h := range hooks {19-
h.Run()20-
}21-
}pkg/hooks/lifecycle.goaddedView file
Loading diff…
pkg/plan/build.gomodifiedView file
Loading diff…
pkg/plan/down.gomodifiedView file
Loading diff…
pkg/plan/new.gomodifiedView file
Loading diff…
pkg/plan/rollback.gomodifiedView file
Loading diff…
pkg/plan/up.gomodifiedView file
Loading diff…
pkg/release/config.gomodifiedView file
Loading diff…
pkg/release/rollback.gomodifiedView file
Loading diff…
pkg/release/sync.gomodifiedView file
Loading diff…
pkg/release/uninstall.gomodifiedView file
Loading diff…