Skip to content

Commit 966ec3c

Browse files
committed
fix: for verify
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
1 parent 25c2f3c commit 966ec3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ func run(ctx context.Context) error {
5858
switch cmd := os.Args[1]; cmd {
5959
case "pre-stop":
6060
log.Info().Msg("Running the pre-stop hook for driver")
61-
return hook.PreStop(ctx)
61+
// return hook.PreStop(ctx)
62+
return hook.PreStop(context.Background()) // TODO: delete this code later.
6263
default:
6364
return fmt.Errorf("not supported command: %q", cmd)
6465
}

0 commit comments

Comments
 (0)