Skip to content

Commit

Permalink
Refactoring code. Moving things around for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
safaci2000 committed Mar 14, 2024
1 parent 26fac5d commit 49953b8
Show file tree
Hide file tree
Showing 36 changed files with 1,245 additions and 936 deletions.
4 changes: 2 additions & 2 deletions cli/tools/dashboards.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"github.com/bep/simplecobra"
"github.com/esnet/gdg/cli/support"
"github.com/esnet/gdg/internal/service"
"github.com/esnet/gdg/internal/service/types"
"github.com/spf13/cobra"
"log/slog"
)
Expand Down Expand Up @@ -45,7 +45,7 @@ func newDashboardLintCmd() simplecobra.Commander {
slog.Info("This is mainly provided as a convenience GDG, if you find yourself relying on this tool heavily, please have a look at: github.com/grafana/dashboard-linter/")
dashboard, _ := cd.CobraCommand.Flags().GetString("dashboard")
folder, _ := cd.CobraCommand.Flags().GetString("folder")
filterReq := service.LintRequest{
filterReq := types.LintRequest{
StrictFlag: lintStrictFlag,
VerboseFlag: lintVerboseFlag,
AutoFix: lintAutofixFlag,
Expand Down
Loading

0 comments on commit 49953b8

Please sign in to comment.