Skip to content

Commit

Permalink
Fix application source plugin env vars (argoproj-labs#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmcnair authored Oct 14, 2021
1 parent bfe01f3 commit eff2e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions argocd/structure_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ func expandApplicationSourcePlugin(in []interface{}) *application.ApplicationSou
for _, v := range env.(*schema.Set).List() {
result.Env = append(result.Env,
&application.EnvEntry{
Name: v.(map[string]string)["name"],
Value: v.(map[string]string)["value"],
Name: v.(map[string]interface{})["name"].(string),
Value: v.(map[string]interface{})["value"].(string),
},
)
}
Expand Down

0 comments on commit eff2e35

Please sign in to comment.