jfrog / terraform-provider-xray

Terraform provider to manage JFrog Xray
https://jfrog.com/xray/
Apache License 2.0
149 stars 12 forks source link

Xray Watch v2 #8

Closed danielmkn closed 2 years ago

github-actions[bot] commented 2 years ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️

danielmkn commented 2 years ago

I've removed most of the pointers from watches. But I found it's quite inconvenient to remove all of them from policies.go. When you use a struct with fields of different types, non-empty verification is confusing. Pointers can have nil values, and it looks like it was the reason they were used everywhere initially.