Changing node.conf structure and moved controllers out of this config
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user