Changing node.conf structure and moved controllers out of this config

This commit is contained in:
Gregory Kurtzer
2020-12-03 17:26:51 -08:00
parent 84bf9fbb43
commit ec037228cc
4 changed files with 13 additions and 169 deletions

View File

@@ -108,8 +108,8 @@ func (self *Entry) Print() string {
func (self *Entry) Source() string {
if self.value != "" && self.altvalue != "" {
return "OVERRIDDEN"
//return fmt.Sprintf("(%s)", self.from)
return "SUPERSEDED"
//return fmt.Sprintf("[%s]", self.from)
} else if self.from == "" {
return "--"
}
@@ -120,5 +120,11 @@ func (self *Entry) Defined() bool {
if self.value != "" {
return true
}
if self.altvalue != "" {
return true
}
if self.def != "" {
return true
}
return false
}