From 850ee9076ea0f34b2e447664b984a8d3bae0e55c Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Mon, 21 Oct 2024 17:41:20 -0400 Subject: [PATCH] put function signature on single line --- apstra/validator/must_be_one_of.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apstra/validator/must_be_one_of.go b/apstra/validator/must_be_one_of.go index b86af63b..f3c94a5b 100644 --- a/apstra/validator/must_be_one_of.go +++ b/apstra/validator/must_be_one_of.go @@ -38,9 +38,7 @@ func (o MustBeOneOfValidator) MarkdownDescription(_ context.Context) string { return fmt.Sprintf("Ensure that the value is one of the following : %s", o.OneOf) } -func (o MustBeOneOfValidator) Validate(_ context.Context, req MustBeOneOfValidatorRequest, - resp *MustBeOneOfValidatorResponse, -) { +func (o MustBeOneOfValidator) Validate(_ context.Context, req MustBeOneOfValidatorRequest, resp *MustBeOneOfValidatorResponse) { for _, v := range o.OneOf { if req.ConfigValue.Equal(v) { return