mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
comments
This commit is contained in:
parent
229179b5b5
commit
4e40a49133
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@ func parseKinds(list []string) []string {
|
|||
return kinds
|
||||
}
|
||||
|
||||
//ArrayFlags to store filterkinds
|
||||
type ArrayFlags []string
|
||||
|
||||
func (i *ArrayFlags) String() string {
|
||||
|
@ -65,6 +66,7 @@ func (i *ArrayFlags) String() string {
|
|||
return sb.String()
|
||||
}
|
||||
|
||||
//Set setter for array flags
|
||||
func (i *ArrayFlags) Set(value string) error {
|
||||
*i = append(*i, value)
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue