Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Oct 28, 2024
1 parent f71c722 commit e41bc76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions provider/cmd/pulumi-resource-unifi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package main

import (
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"

unifi "github.com/pulumiverse/pulumi-unifi/provider"
"github.com/pulumiverse/pulumi-unifi/provider/pkg/version"
)
Expand Down
1 change: 1 addition & 0 deletions provider/cmd/pulumi-tfgen-unifi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package main

import (
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen"

unifi "github.com/pulumiverse/pulumi-unifi/provider"
"github.com/pulumiverse/pulumi-unifi/provider/pkg/version"
)
Expand Down
4 changes: 3 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ import (
"unicode"

provider "github.com/paultyng/terraform-provider-unifi/shim"

"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim"
shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
"github.com/pulumi/pulumi/sdk/v3/go/common/tokens"

"github.com/pulumiverse/pulumi-unifi/provider/pkg/version"
)

Expand Down Expand Up @@ -82,7 +84,7 @@ func unifiResource(mod string, res string) tokens.Type {
// It should validate that the provider can be configured, and provide actionable errors in the case
// it cannot be. Configuration variables can be read from `vars` using the `stringValue` function -
// for example `stringValue(vars, "accessKey")`.
func preConfigureCallback(vars resource.PropertyMap, c shim.ResourceConfig) error {
func preConfigureCallback(_ resource.PropertyMap, _ shim.ResourceConfig) error {
return nil
}

Expand Down

0 comments on commit e41bc76

Please sign in to comment.