diff --git a/internal/logic/cloud/getclusterlistlogic.go b/internal/logic/cloud/getclusterlistlogic.go index e1a5c2da1..fb8270a68 100644 --- a/internal/logic/cloud/getclusterlistlogic.go +++ b/internal/logic/cloud/getclusterlistlogic.go @@ -24,7 +24,6 @@ func NewGetClusterListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Ge func (l *GetClusterListLogic) GetClusterList(req *types.GetClusterListReq) (resp *types.GetClusterListResp, err error) { resp = &types.GetClusterListResp{} - //clusters := []models.ScParticipantPhyInfo{} l.svcCtx.DbEngin.Raw("select * from t_cluster where adapter_id = ?", req.AdapterId).Scan(&resp.Clusters) return resp, nil } diff --git a/internal/logic/hpc/commithpctasklogic.go b/internal/logic/hpc/commithpctasklogic.go index 31003d907..790ba6bda 100644 --- a/internal/logic/hpc/commithpctasklogic.go +++ b/internal/logic/hpc/commithpctasklogic.go @@ -136,8 +136,8 @@ func submitJob(hpcInfo *models.TaskHpc, clusterInfo *types.ClusterInfo, adapterA Partition: hpcInfo.Partition, Environment: map[string]string{"PATH": clusterInfo.EnvPath, "LD_LIBRARY_PATH": clusterInfo.EnvLdPath}, - StandardOutput: hpcInfo.WorkDir + "/%j.out", - StandardError: hpcInfo.WorkDir + "/%j.err", + StandardOutput: hpcInfo.WorkDir + "/job.out", + StandardError: hpcInfo.WorkDir + "/job.err", }, }, }