Do not lose filter name when saving to yaml

This commit is contained in:
Eugene Bujak 2018-10-10 19:49:18 +03:00
parent 5ae2a32d6e
commit e689c7d940

View File

@ -50,7 +50,7 @@ type coreDNSConfig struct {
type filter struct {
URL string `json:"url"`
Name string `json:"name" yaml:"-"`
Name string `json:"name" yaml:"name"`
Enabled bool `json:"enabled"`
RulesCount int `json:"rules_count" yaml:"-"`
contents []byte