start&end time for list history job
This commit is contained in:
parent
d9bae6d49c
commit
cbaa2409c6
|
@ -46,6 +46,8 @@ func (l *ListHistoryJobLogic) ListHistoryJob(in *hpcAC.ListHistoryJobReq) (*hpcA
|
|||
|
||||
params := url.Values{}
|
||||
params.Add("strClusterIDList", strconv.FormatInt(clusterId, 10))
|
||||
params.Add("startTime", in.StartTime)
|
||||
params.Add("endTime", in.EndTime)
|
||||
|
||||
reqUrl, err := http.NewRequest("GET", "https://api01.hpccube.com:65106/"+historyJobUrl+params.Encode(), nil)
|
||||
|
||||
|
|
Loading…
Reference in New Issue