Fix panic on hook since v0.126.0 (#1448)

Fixes #1445
This commit is contained in:
Yusuke Kuoka
2020-09-01 10:37:21 +09:00
committed by GitHub
parent 19d79427a1
commit d3daea3137
2 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ type Bus struct {
func (bus *Bus) Trigger(evt string, evtErr error, context map[string]interface{}) (bool, error) {
if bus.Runner == nil {
bus.Runner = helmexec.ShellRunner{
Dir: bus.BasePath,
Dir: bus.BasePath,
Logger: bus.Logger,
}
}