Also log when killing process

This commit is contained in:
Vitaliy Filippov
2023-12-06 01:06:53 +03:00
parent 7f8f7ded52
commit 2ce8292803
+1
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)
{