Skip to content

Commit

Permalink
fix all kind of hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
  • Loading branch information
Pavel Okhlopkov committed Dec 11, 2024
1 parent cddd4c5 commit 1d72f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/module_manager/models/hooks/kind/shellhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (sh *ShellHook) Execute(configVersion string, bContext []bindingcontext.Bin
sh.GetPath(),
[]string{},
envs).
WithLogProxyHookJSON(sh.LogProxyHookJSON).
WithLogProxyHookJSON(shapp.LogProxyHookJSON).
WithLogProxyHookJSONKey(sh.LogProxyHookJSONKey).
WithLogger(sh.Logger.Named("executor"))

Expand Down Expand Up @@ -171,7 +171,7 @@ func (sh *ShellHook) getConfig() (configOutput []byte, err error) {
sh.Path,
args,
envs).
WithLogProxyHookJSON(sh.LogProxyHookJSON).
WithLogProxyHookJSON(shapp.LogProxyHookJSON).
WithLogProxyHookJSONKey(sh.LogProxyHookJSONKey).
WithLogger(sh.Logger.Named("executor")).
WithCMDStdout(nil)
Expand Down

0 comments on commit 1d72f65

Please sign in to comment.