Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Borrelli <[email protected]>
  • Loading branch information
stevendborrelli committed Jun 4, 2024
1 parent 271dc86 commit e985c53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion internal/clients/infoblox-nios.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (

// TerraformSetupBuilder builds Terraform a terraform.SetupFn function which
// returns Terraform provider setup configuration
func TerraformSetupBuilder(version, providerSource, providerVersion string) terraform.SetupFn {
func TerraformSetupBuilder(version, providerSource, providerVersion string) terraform.SetupFn { //nolint:gocyclo
return func(ctx context.Context, client client.Client, mg resource.Managed) (terraform.Setup, error) {
ps := terraform.Setup{
Version: version,
Expand Down
1 change: 0 additions & 1 deletion internal/controller/providerconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func Setup(mgr ctrl.Manager, o controller.Options) error {
WithOptions(o.ForControllerRuntime()).
For(&v1beta1.ProviderConfig{}).
Watches(&v1beta1.ProviderConfigUsage{}, &resource.EnqueueRequestForProviderConfig{}).
//Watches(&source.Kind{Type: &v1beta1.ProviderConfigUsage{}}, &resource.EnqueueRequestForProviderConfig{}).
Complete(providerconfig.NewReconciler(mgr, of,
providerconfig.WithLogger(o.Logger.WithValues("controller", name)),
providerconfig.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name)))))
Expand Down

0 comments on commit e985c53

Please sign in to comment.