LingxinMeng 5 月之前
父节点
当前提交
2344d775cd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/package/application/run_task.go

+ 2 - 2
src/package/application/run_task.go

@@ -198,8 +198,8 @@ func RunWaitingCluster() {
 		startPositionX, startPositionY, startPositionZ, startPositionH, _, _, _, _, xodrPath, osgbPath := util.ParseXosc(xoscLocalPath)
 		firstTaskCache.Task.Scenario.ScenarioOdr = xodrPath
 		firstTaskCache.Task.Scenario.ScenarioOsgb = osgbPath
-		lastIndex := strings.LastIndex(xoscLocalPath, "/")
-		dirPath := xoscLocalPath[:lastIndex+1] // 包括最后一个 /
+		lastIndex := strings.LastIndex(xoscOssPath, "/")
+		dirPath := xoscOssPath[:lastIndex+1] // 包括最后一个 /
 		destinationCsvOssKey := dirPath + global.DestinationCsvName
 		var endPoints []util.DataPoint
 		if exist, _ := tempOss.IsObjectExist(destinationCsvOssKey); exist {