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

Commit

Permalink
fix: repo.GetAppDetails().Helm.GetParameterValueByName not get helm.v…
Browse files Browse the repository at this point in the history
…alues
  • Loading branch information
ss75710541 committed Apr 27, 2022
1 parent ab0ecf2 commit 87a213e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion shared/argocd/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,16 @@ func (svc *argoCDService) GetAppDetails(ctx context.Context, appSource *v1alpha1
if err != nil {
return nil, err
}
appDetail.Helm.GetParameters()
data, err := appSource.Helm.Marshal()
if err != nil {
return nil, err
}

fmt.Sprintf("----- appSource.Helm.Marshal data: %v", data)

appDetail.Helm.Unmarshal(data)
fmt.Sprintf("----- appDetail.Helm data: %v", appDetail.Helm)

var has *shared.HelmAppSpec
if appDetail.Helm != nil {

Expand Down

0 comments on commit 87a213e

Please sign in to comment.