mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-20 02:39:53 +00:00
opts should not be a pointer
This commit is contained in:
parent
649c2ca4d6
commit
9936e43d47
3 changed files with 4 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ func realMain() int {
|
|||
return 1
|
||||
}
|
||||
|
||||
v := validator.New(cfg.SchemaLocations, &validator.Opts{
|
||||
v := validator.New(cfg.SchemaLocations, validator.Opts{
|
||||
SkipTLS: cfg.SkipTLS,
|
||||
SkipKinds: cfg.SkipKinds,
|
||||
RejectKinds: cfg.RejectKinds,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue