Skip to content

Commit

Permalink
add version
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 Jan 31, 2025
1 parent e76a82a commit 41a3cad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/module_manager/models/hooks/kind/batch_hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ func (h *BatchHook) GetConfigForModule(_ string) (*config.HookConfig, error) {
hcv1 := remapHookConfigV1FromHookConfig(h.config)

cfg := new(config.HookConfig)
cfg.Version = h.config.ConfigVersion
cfg.V1 = hcv1

err = hcv1.ConvertAndCheck(cfg)
Expand Down

0 comments on commit 41a3cad

Please sign in to comment.