From e64848567a5d7a29cb6c9754f1756dd2d1fde82d Mon Sep 17 00:00:00 2001 From: steinsgateted Date: Fri, 11 Mar 2022 13:39:27 +0800 Subject: [PATCH] [YUNIKORN-998] expose gang related info in application REST info --- pkg/webservice/dao/application_info.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkg/webservice/dao/application_info.go b/pkg/webservice/dao/application_info.go index e96d09913..7d5f16f2b 100644 --- a/pkg/webservice/dao/application_info.go +++ b/pkg/webservice/dao/application_info.go @@ -23,17 +23,17 @@ type ApplicationsDAOInfo struct { } type ApplicationDAOInfo struct { - ApplicationID string `json:"applicationID"` - UsedResource string `json:"usedResource"` - MaxUsedResource string `json:"maxUsedResource"` - Partition string `json:"partition"` - QueueName string `json:"queueName"` - SubmissionTime int64 `json:"submissionTime"` - FinishedTime *int64 `json:"finishedTime"` - Allocations []AllocationDAOInfo `json:"allocations"` - State string `json:"applicationState"` - User string `json:"user"` - RejectedMessage string `json:"rejectedMessage"` + ApplicationID string `json:"applicationID"` + UsedResource string `json:"usedResource"` + MaxUsedResource string `json:"maxUsedResource"` + Partition string `json:"partition"` + QueueName string `json:"queueName"` + SubmissionTime int64 `json:"submissionTime"` + FinishedTime *int64 `json:"finishedTime"` + Allocations []AllocationDAOInfo `json:"allocations"` + State string `json:"applicationState"` + User string `json:"user"` + RejectedMessage string `json:"rejectedMessage"` PlaceholderData []PlaceholderDAOInfo `json:"placeholderData"` }