diff --git a/internal/mesh/internal/types/proxy_state_template.go b/internal/mesh/internal/types/proxy_state_template.go index b84d0e9b45cb..9a691319c4e9 100644 --- a/internal/mesh/internal/types/proxy_state_template.go +++ b/internal/mesh/internal/types/proxy_state_template.go @@ -5,7 +5,6 @@ package types import ( "fmt" - "github.com/hashicorp/go-multierror" "github.com/hashicorp/consul/acl" @@ -92,6 +91,11 @@ func ValidateProxyStateTemplate(res *pbresource.Resource) error { })) } + //TODO: Call exports.go proxy of validators.go's protocol validation code, ensure it's set to not-unspecified enum value + // (That export also needs to be added, see examples there) + //TODO: Add golden test coverage of the changes made to Cluster to include protocol + //TODO: Clean up commit message + wrapGroupErr := func(err error) error { return wrapClusterErr(resource.ErrInvalidField{ Name: "group",