mirror of https://github.com/hashicorp/terraform
The convention for Go maps is that read operations treat an uninitialized map as if empty, and collections.Set is intended to behave in a map-like way, so Set.Has should return false when called on a totally-uninitialized set. Previously this would panic because an uninitialized set has a nil key function.pull/35031/head
parent
b718c55b13
commit
ef185ee6a0
Loading…
Reference in new issue