diff --git a/internal/pkg/node/methods.go b/internal/pkg/node/methods.go index 7cbce368..8ccbb6f5 100644 --- a/internal/pkg/node/methods.go +++ b/internal/pkg/node/methods.go @@ -5,7 +5,19 @@ import ( ) func (self *NodeInfoEntry) String() string { - return self.Get() + if self.value != "" { + return self.value + } + if self.group != "" { + return self.group + } + if self.profile != "" { + return self.profile + } + if self.def != "" { + return self.def + } + return "--" } func (self *NodeInfoEntry) Source() string {