From 7d378f74db751d687a50aee50cec9803f5472ee1 Mon Sep 17 00:00:00 2001 From: Venelin Date: Fri, 12 Apr 2024 17:08:59 +0100 Subject: [PATCH] l i n t --- pf/tfgen/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pf/tfgen/main.go b/pf/tfgen/main.go index b4898760f..f5fda7321 100644 --- a/pf/tfgen/main.go +++ b/pf/tfgen/main.go @@ -86,11 +86,11 @@ func MainWithMuxer(provider string, info sdkBridge.ProviderInfo) { // Validate any sdk providers that are being muxed in. for _, prov := range shim.MuxedProviders { err := prov.InternalValidate() - if err!= nil { + if err != nil { _, fmterr := fmt.Fprintf(os.Stderr, "Internal validation of the provider failed: %v\n", err) contract.IgnoreError(fmterr) os.Exit(-1) - } + } } tfgen.MainWithCustomGenerate(provider, info.Version, info, func(opts tfgen.GeneratorOptions) error {