You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing this issue during environment deployment. Maybe it is possible to just ignore a null value and assign empty value to the variable? For example, "" for string, and {} for JSON?
Here is an example of the error:
main.go:99: updateByName: outputkey: kafka_broker_endpoints
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
main.updateByName(0x683800, {0xc000018600, 0xc00001c410, 0xf})
/tmp/681a3b6d-cd27-49a1-a0c3-e4bfe6d5073c/env0-import-variable-plugin/main.go:115 +0x5cf
main.main()
/tmp/681a3b6d-cd27-49a1-a0c3-e4bfe6d5073c/env0-import-variable-plugin/main.go:297 +0x1438
Expected variables, which weren't set (or set to null), fail on JSON parsing
The text was updated successfully, but these errors were encountered: