1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
This commit is contained in:
shivkumar dudhani 2019-07-23 00:55:45 -04:00
parent 229179b5b5
commit 4e40a49133

View file

@ -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