Skip to content

Commit

Permalink
l i n t
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinMartinov committed Apr 12, 2024
1 parent f8035d7 commit 7d378f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pf/tfgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7d378f7

Please sign in to comment.