Skip to content

Commit 763c80c

Browse files
committed
fix: myapps api add rawAppName field
1 parent 8d34cc9 commit 763c80c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

framework/bfl/pkg/app_service/v1/internal.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ func (c *Client) getAppListFromData(apps []map[string]interface{}) ([]*AppInfo,
240240
res = append(res, &AppInfo{
241241
ID: genAppID(appSpec),
242242
Name: stringOrEmpty(appSpec["name"]),
243+
RawAppName: stringOrEmpty(appSpec["rawAppName"]),
243244
Namespace: stringOrEmpty(appSpec["namespace"]),
244245
DeploymentName: stringOrEmpty(appSpec["deployment"]),
245246
Owner: stringOrEmpty(appSpec["owner"]),

framework/bfl/pkg/app_service/v1/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
type AppInfo struct {
1212
ID string `json:"id"`
1313
Name string `json:"name"`
14+
RawAppName string `json:"rawAppName"`
1415
Namespace string `json:"namespace"`
1516
DeploymentName string `json:"deployment"`
1617
Owner string `json:"owner"`

0 commit comments

Comments
 (0)