Skip to content

Commit

Permalink
Remove redundant Queue and State members from ApplicationDetailsDAOInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
richscott committed Jun 14, 2024
1 parent 6d1a112 commit 45b9178
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pkg/webservice/dao/application_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ type ApplicationDAOInfo struct {
type ApplicationDetailsDAOInfo struct {
ApplicationDAOInfo
StartTime int64
Queue string
State string
ResourceUsage *resources.TrackedResource
PreemptedResource *resources.TrackedResource
PlaceholderResource *resources.TrackedResource
Expand Down
2 changes: 0 additions & 2 deletions pkg/webservice/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,6 @@ func getApplicationDetailsDAO(app *objects.Application, sum *objects.Application
MaxRequestPriority: app.GetAskMaxPriority(),
},
StartTime: app.StartTime().UnixMilli(),
Queue: app.GetQueue().Name,
State: sum.State,
ResourceUsage: sum.ResourceUsage,
PreemptedResource: sum.PreemptedResource,
PlaceholderResource: sum.PlaceholderResource,

Check warning on line 353 in pkg/webservice/handlers.go

View check run for this annotation

Codecov / codecov/patch

pkg/webservice/handlers.go#L328-L353

Added lines #L328 - L353 were not covered by tests
Expand Down

0 comments on commit 45b9178

Please sign in to comment.