Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nithyatsu committed Mar 20, 2023
1 parent d3747eb commit 73d22d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions pkg/cli/helm/radiusclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,9 @@ func AddRadiusValues(helmChart *chart.Chart, options *RadiusOptions) error {
de["tag"] = options.DETag
}

if options.Values != "" {
err := strvals.ParseInto(options.Values, values)
if err != nil {
return err
}
err := strvals.ParseInto(options.Values, values)
if err != nil {
return err
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/helm/radiusclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

func Test_AddRadiusValues(t *testing.T) {
var helmChart chart.Chart
helmChart.Values = map[string]interface{}{}
helmChart.Values = map[string]any{}
options := &RadiusOptions{
Image: "image",
Values: "global.de.tag=de-tag,global.ucp.tag=ucp-tag,",
Expand Down

0 comments on commit 73d22d3

Please sign in to comment.