From 466f0edbabe8bb3f1f81aa3b3055c7b606f94ce3 Mon Sep 17 00:00:00 2001 From: Dao Thanh Tung Date: Mon, 19 Feb 2024 20:28:50 +0000 Subject: [PATCH] gofmt fix Signed-off-by: Dao Thanh Tung --- pkg/scalers/scaler.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/scalers/scaler.go b/pkg/scalers/scaler.go index 980a284cc87..de3bf69c693 100644 --- a/pkg/scalers/scaler.go +++ b/pkg/scalers/scaler.go @@ -182,28 +182,28 @@ type configOptions struct { // UseMetadata is an Option function that sets the useMetadata field of configOptions. func UseMetadata() Option { return func(opt *configOptions) { - opt.useMetadata = true + opt.useMetadata = true } } // UseAuthentication is an Option function that sets the useAuthentication field of configOptions. func UseAuthentication() Option { return func(opt *configOptions) { - opt.useAuthentication = true + opt.useAuthentication = true } } // UseResolvedEnv is an Option function that sets the useResolvedEnv field of configOptions. func UseResolvedEnv() Option { return func(opt *configOptions) { - opt.useResolvedEnv = true + opt.useResolvedEnv = true } } // IsOptional is an Option function that sets the isOptional field of configOptions. func IsOptional() Option { return func(opt *configOptions) { - opt.isOptional = true + opt.isOptional = true } }