Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/bean/AppView.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ type AppDetailContainer struct {
Environments []Environment `json:"otherEnvironment,omitempty"`
LinkOuts []LinkOuts `json:"linkOuts,omitempty"`
ResourceTree map[string]interface{} `json:"resourceTree,omitempty"`
Notes string `json:"notes,omitempty"`
}

type Environment struct {
Expand Down
1 change: 1 addition & 0 deletions pkg/appStore/deployment/service/InstalledAppService.go
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ func (impl InstalledAppServiceImpl) FetchResourceTree(rctx context.Context, cn h
resourceTree := util3.InterfaceToMapAdapter(detail.ResourceTreeResponse)
resourceTree["status"] = detail.ApplicationStatus
appDetail.ResourceTree = resourceTree
appDetail.Notes = detail.ChartMetadata.Notes
impl.logger.Warnw("appName and envName not found - avoiding resource tree call", "app", appDetail.AppName, "env", appDetail.EnvironmentName)
} else {
appDetail.ResourceTree = map[string]interface{}{}
Expand Down