Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

containerd backend improvements #368

Merged
merged 7 commits into from
Aug 30, 2019
4 changes: 2 additions & 2 deletions pkg/container/firecracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func installSignalHandlers(ctx context.Context, m *firecracker.Machine) {
for {
switch s := <-c; {
case s == syscall.SIGTERM || s == os.Interrupt:
fmt.Println("Caught SIGINT, requesting clean shutdown")
fmt.Println("Caught SIGTERM, requesting clean shutdown")
m.Shutdown(ctx)
time.Sleep(constants.STOP_TIMEOUT * time.Second)

Expand All @@ -164,7 +164,7 @@ func installSignalHandlers(ctx context.Context, m *firecracker.Machine) {
m.StopVMM()
}
case s == syscall.SIGQUIT:
fmt.Println("Caught SIGTERM, forcing shutdown")
fmt.Println("Caught SIGQUIT, forcing shutdown")
m.StopVMM()
}
}
Expand Down
Loading