removed Validator.Validate Interface

This commit is contained in:
Freddie 2023-02-19 21:08:06 +05:30
parent a31820bac9
commit 7db787e97c

View File

@ -36,7 +36,6 @@ var isDisabledBuild bool
// Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.
type Validator interface {
Validate(pod *v1.Pod) error
ValidateHost() error
}
// NewValidator is in order to find AppArmor FS