Skip to content

Commit

Permalink
CDPCP-13591 Cloudera Data Warehouse - Data Visualisation Support
Browse files Browse the repository at this point in the history
Fix linter issues.
  • Loading branch information
Viktor Csomor committed Dec 18, 2024
1 parent 6d434c2 commit 562e3a8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ linters-settings:
skip-generated: true

output:
format: colored-line-number
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true

issues:
Expand Down
2 changes: 1 addition & 1 deletion provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ package provider
import (
"context"
"fmt"
"github.com/cloudera/terraform-provider-cdp/resources/dw/dataviz"
"os"
"runtime"
"strconv"
Expand All @@ -32,6 +31,7 @@ import (
"github.com/cloudera/terraform-provider-cdp/resources/de"
dwaws "github.com/cloudera/terraform-provider-cdp/resources/dw/cluster/aws"
dwdatabasecatalog "github.com/cloudera/terraform-provider-cdp/resources/dw/databasecatalog"
"github.com/cloudera/terraform-provider-cdp/resources/dw/dataviz"
"github.com/cloudera/terraform-provider-cdp/resources/dw/virtualwarehouse/hive"
"github.com/cloudera/terraform-provider-cdp/resources/dw/virtualwarehouse/impala"
"github.com/cloudera/terraform-provider-cdp/resources/environments"
Expand Down
2 changes: 1 addition & 1 deletion provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ package provider
import (
"context"
"fmt"
"github.com/cloudera/terraform-provider-cdp/resources/dw/dataviz"
"os"
"reflect"
"regexp"
Expand All @@ -32,6 +31,7 @@ import (
"github.com/cloudera/terraform-provider-cdp/resources/de"
dwaws "github.com/cloudera/terraform-provider-cdp/resources/dw/cluster/aws"
dwdatabasecatalog "github.com/cloudera/terraform-provider-cdp/resources/dw/databasecatalog"
"github.com/cloudera/terraform-provider-cdp/resources/dw/dataviz"
"github.com/cloudera/terraform-provider-cdp/resources/dw/virtualwarehouse/hive"
"github.com/cloudera/terraform-provider-cdp/resources/dw/virtualwarehouse/impala"
"github.com/cloudera/terraform-provider-cdp/resources/environments"
Expand Down
3 changes: 2 additions & 1 deletion resources/dw/dataviz/model_dataviz.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
package dataviz

import (
"github.com/cloudera/terraform-provider-cdp/utils"
"github.com/hashicorp/terraform-plugin-framework/types"

"github.com/cloudera/terraform-provider-cdp/utils"
)

type resourceModel struct {
Expand Down
2 changes: 1 addition & 1 deletion resources/dw/dataviz/resource_dataviz.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ package dataviz
import (
"context"
"fmt"
"github.com/hashicorp/terraform-plugin-framework/attr"
"strings"
"time"

"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down

0 comments on commit 562e3a8

Please sign in to comment.