Also log when killing process

Vitaliy Filippov 2023-12-06 01:06:53 +03:00
parent 7f8f7ded52
commit 2ce8292803
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ func (ns *NodeServer) unmapNbd(devicePath string)
func findByPidFile(pidFile string) (*os.Process, error)
{
klog.Infof("killing process with PID from file %s", pidFile)
pidBuf, err := os.ReadFile(pidFile)
if (err != nil)
{