Skip to content

Commit

Permalink
fix: for verify
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Jan 8, 2025
1 parent 25c2f3c commit 966ec3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ func run(ctx context.Context) error {
switch cmd := os.Args[1]; cmd {
case "pre-stop":
log.Info().Msg("Running the pre-stop hook for driver")
return hook.PreStop(ctx)
// return hook.PreStop(ctx)
return hook.PreStop(context.Background()) // TODO: delete this code later.
default:
return fmt.Errorf("not supported command: %q", cmd)
}
Expand Down

0 comments on commit 966ec3c

Please sign in to comment.