Skip to content

Commit 57bf7b6

Browse files
Merge pull request #26 from stackql/bugfix/xml-exec
aws-ec2-instances-exec
2 parents 0ef370e + 62ec53d commit 57bf7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

anysdk/schema.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ func providerTypeConditionIsValid(providerType string, lhs string, rhs interface
111111
case "string":
112112
return reflect.TypeOf(rhs).String() == "string"
113113
case "object":
114-
return false
114+
return reflect.TypeOf(rhs).String() == "string"
115115
case "array":
116-
return false
116+
return reflect.TypeOf(rhs).String() == "string"
117117
case "int", "int32", "int64":
118118
return reflect.TypeOf(rhs).String() == "int"
119119
default:

0 commit comments

Comments
 (0)