Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Evsyukov Denis <denis.evsyukov@flant.com>
  • Loading branch information
juev committed Sep 16, 2024
1 parent bb6ea20 commit 219c703
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ func main() {
cfg, err := config.NewDefault()
logger.CheckErr(err)

//logger.InfoF("Config: %#v", cfg)
mng := manager.NewManager(dirs, cfg)
//for i := range mng.Modules {
// logger.InfoF("module[%d]: %s", i, mng.Modules[i])
//}

result := mng.Run()
fmt.Printf("%s\n", result.ConvertToError())
}
2 changes: 1 addition & 1 deletion pkg/linters/openapi/validators/ha_and_https.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func NewHAValidator(cfg *config.OpenAPISettings) HAValidator {
}
}

func (ha HAValidator) Run(moduleName, file, absoluteKey string, value any) error {
func (ha HAValidator) Run(_, file, absoluteKey string, value any) error {
m := make(map[any]any)
rv := reflect.ValueOf(value)
if rv.Kind() != reflect.Map {
Expand Down

0 comments on commit 219c703

Please sign in to comment.