mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
changes in NewValidator
This commit is contained in:
parent
02e6092087
commit
e33a4d656f
@ -44,7 +44,7 @@ func NewValidator() Validator {
|
|||||||
if err := validateHost(); err != nil {
|
if err := validateHost(); err != nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return nil
|
return &validator{}
|
||||||
}
|
}
|
||||||
|
|
||||||
type validator struct {
|
type validator struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user