Skip to content

Commit

Permalink
lint configurator
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <[email protected]>
  • Loading branch information
Fral738 committed Dec 26, 2024
1 parent 1ff36d9 commit 23be324
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
lint:
uses: werf/common-ci/.github/workflows/lint.yml@chore/ci/lint
with:
directories: '["backend"]'
directories: '["backend", "bin/configurator"]'
cmd: task -p lint:golangci-lint

notification:
Expand Down
9 changes: 0 additions & 9 deletions bin/configurator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,6 @@ type configCombinationTab struct {
Params map[string]string `yaml:"params,omitempty"`
}

func (c config) mustGetCombinationTree() optionTreeNode {
rootOption, err := c.getCombinationTree()
if err != nil {
panic(err)
}

return rootOption
}

type optionTreeNode struct {
Option string `json:"option"`
Values optionTreeNodeValues `json:"values"`
Expand Down

0 comments on commit 23be324

Please sign in to comment.