PrintableName calls the Node's Formatter function with a single space separator.
()
| 160 | |
| 161 | // PrintableName calls the Node's Formatter function with a single space separator. |
| 162 | func (i *NodeInfo) PrintableName() string { |
| 163 | return strings.Join(i.NameComponents(), " ") |
| 164 | } |
| 165 | |
| 166 | // NameComponents returns the components of the printable name to be used for a node. |
| 167 | func (i *NodeInfo) NameComponents() []string { |
no test coverage detected