Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinMartinov committed Apr 12, 2024
1 parent a2ff6d5 commit f8035d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pf/internal/schemashim/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (p *SchemaOnlyProvider) DataSourcesMap() shim.ResourceMap {
}

func (p *SchemaOnlyProvider) InternalValidate() error {
return nil
return nil
}

func (p *SchemaOnlyProvider) Validate(context.Context, shim.ResourceConfig) ([]string, []error) {
Expand Down
2 changes: 1 addition & 1 deletion pf/tfgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func MainWithMuxer(provider string, info sdkBridge.ProviderInfo) {
for _, prov := range shim.MuxedProviders {
err := prov.InternalValidate()
if err!= nil {
_, fmterr := fmt.Fprintf(os.Stderr, "Internal validation of the provider failed: %v\n", err)
_, fmterr := fmt.Fprintf(os.Stderr, "Internal validation of the provider failed: %v\n", err)
contract.IgnoreError(fmterr)
os.Exit(-1)
}
Expand Down

0 comments on commit f8035d7

Please sign in to comment.