Skip to content

Commit

Permalink
Fix args and env schemas (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
pib authored Feb 7, 2022
1 parent 52b5ac0 commit a77dc6b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions argocd/schema_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ func clusterSchema() map[string]*schema.Schema {
Type: schema.TypeList,
Optional: true,
Description: "Arguments to pass to the command when executing it",
Elem: schema.TypeString,
Elem: &schema.Schema{
Type: schema.TypeString,
},
},
"command": {
Type: schema.TypeString,
Expand All @@ -86,7 +88,9 @@ func clusterSchema() map[string]*schema.Schema {
Type: schema.TypeMap,
Optional: true,
Description: "Env defines additional environment variables to expose to the process. Passed as a map of strings",
Elem: schema.TypeString,
Elem: &schema.Schema{
Type: schema.TypeString,
},
},
"install_hint": {
Type: schema.TypeString,
Expand Down

0 comments on commit a77dc6b

Please sign in to comment.