Do not lose filter name when saving to yaml
This commit is contained in:
parent
5ae2a32d6e
commit
e689c7d940
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue