Skip to content

Commit

Permalink
add debug sorted paths
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Nov 25, 2024
1 parent 6eee0f7 commit ba0d01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/module_manager/models/modules/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (bm *BasicModule) searchModuleBatchHooks() (hks []*kind.BatchHook, err erro

// sort hooks by path
sort.Strings(hooksRelativePaths)
log.Debugf(" Hook paths: %+v", hooksRelativePaths)
bm.logger.Error("sorted paths", slog.Any("paths", hooksRelativePaths))

for _, hookPath := range hooksRelativePaths {
hookName, err := filepath.Rel(filepath.Dir(bm.Path), hookPath)
Expand Down

0 comments on commit ba0d01c

Please sign in to comment.