MyPureCloud / terraform-provider-genesyscloud

Terraform Provider Genesyscloud
MIT License
35 stars 78 forks source link

Fixes DEVTOOLING-674 #1128

Closed bbbco closed 3 months ago

bbbco commented 3 months ago

Fixes DEVTOOLING-674 by allowing the sanitizeMap function to continue processing as sanitizeE164Number and sanitizeRrule functions could return empty strings. If they do, we want to filter them out (further down the sanitizeMap function) unless they are explicitly marked to be kept by the AllowForZeroValues config to be retained as blank / zero values.

Presumably, when these functions were originally written, they were likely copied from the above if statements that explicitly continue (for good reason).