Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 87a213e

Browse files
committed
fix: repo.GetAppDetails().Helm.GetParameterValueByName not get helm.values
1 parent ab0ecf2 commit 87a213e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

shared/argocd/service.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,16 @@ func (svc *argoCDService) GetAppDetails(ctx context.Context, appSource *v1alpha1
118118
if err != nil {
119119
return nil, err
120120
}
121-
appDetail.Helm.GetParameters()
121+
data, err := appSource.Helm.Marshal()
122+
if err != nil {
123+
return nil, err
124+
}
125+
126+
fmt.Sprintf("----- appSource.Helm.Marshal data: %v", data)
127+
128+
appDetail.Helm.Unmarshal(data)
129+
fmt.Sprintf("----- appDetail.Helm data: %v", appDetail.Helm)
130+
122131
var has *shared.HelmAppSpec
123132
if appDetail.Helm != nil {
124133

0 commit comments

Comments
 (0)