Skip to content

Commit a77dc6b

Browse files
authored
Fix args and env schemas (#132)
1 parent 52b5ac0 commit a77dc6b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

argocd/schema_cluster.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ func clusterSchema() map[string]*schema.Schema {
7575
Type: schema.TypeList,
7676
Optional: true,
7777
Description: "Arguments to pass to the command when executing it",
78-
Elem: schema.TypeString,
78+
Elem: &schema.Schema{
79+
Type: schema.TypeString,
80+
},
7981
},
8082
"command": {
8183
Type: schema.TypeString,
@@ -86,7 +88,9 @@ func clusterSchema() map[string]*schema.Schema {
8688
Type: schema.TypeMap,
8789
Optional: true,
8890
Description: "Env defines additional environment variables to expose to the process. Passed as a map of strings",
89-
Elem: schema.TypeString,
91+
Elem: &schema.Schema{
92+
Type: schema.TypeString,
93+
},
9094
},
9195
"install_hint": {
9296
Type: schema.TypeString,

0 commit comments

Comments
 (0)