From cdb3750c11921cd0f0bfae506aedd1740cf60093 Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Fri, 27 Oct 2023 20:13:07 -0400 Subject: [PATCH] eliminate unused struct elements --- apstra/apstra_validator/parse_rt.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apstra/apstra_validator/parse_rt.go b/apstra/apstra_validator/parse_rt.go index d83ee8d6..33f63637 100644 --- a/apstra/apstra_validator/parse_rt.go +++ b/apstra/apstra_validator/parse_rt.go @@ -21,10 +21,7 @@ const ( var _ validator.String = ParseRtValidator{} -type ParseRtValidator struct { - requireIpv4 bool - requireIpv6 bool -} +type ParseRtValidator struct{} func (o ParseRtValidator) Description(_ context.Context) string { return "Ensures that the supplied can be parsed as a Route Target"