Do not lose filter name when saving to yaml
This commit is contained in:
@@ -50,7 +50,7 @@ type coreDNSConfig struct {
|
|||||||
|
|
||||||
type filter struct {
|
type filter struct {
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
Name string `json:"name" yaml:"-"`
|
Name string `json:"name" yaml:"name"`
|
||||||
Enabled bool `json:"enabled"`
|
Enabled bool `json:"enabled"`
|
||||||
RulesCount int `json:"rules_count" yaml:"-"`
|
RulesCount int `json:"rules_count" yaml:"-"`
|
||||||
contents []byte
|
contents []byte
|
||||||
|
|||||||
Reference in New Issue
Block a user