mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
changes in NewValidator
This commit is contained in:
parent
e33a4d656f
commit
3db6cc5b8b
@ -42,7 +42,7 @@ type Validator interface {
|
||||
// NewValidator is in order to find AppArmor FS
|
||||
func NewValidator() Validator {
|
||||
if err := validateHost(); err != nil {
|
||||
return nil
|
||||
return &validator{validateHostErr: err}
|
||||
}
|
||||
return &validator{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user