Преглед изворни кода

Feature #TASK_QT-18250 清理心跳文件

Carl пре 1 година
родитељ
комит
a79729801c
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      containers/container.go
  2. 1 1
      dist/scripts/uninstall.sh

+ 1 - 1
containers/container.go

@@ -530,7 +530,7 @@ func (c *Container) onProcessStart(pid uint32) *Process {
 	defer c.lock.Unlock()
 	stats, err := TaskstatsPID(pid)
 	if err != nil {
-		klog.WithError(err).Errorf("Failed onProcessStart [%d]", pid)
+		klog.WithError(err).Debugf("Failed onProcessStart [%d]", pid)
 		return nil
 	}
 	c.zombieAt = time.Time{}

+ 1 - 1
dist/scripts/uninstall.sh

@@ -1081,7 +1081,7 @@ cleanUpFilesDuringUninstall() {
 	  removeIfExists "${fileName}"
   done
 
-  fileNames="uninstall.sh installer.version"
+  fileNames="uninstall.sh installer.version heartbeat"
   for fileName in ${fileNames}; do
 	  removeIfExists "${INSTALL_DIR}/${fileName}"
   done