remove vestiges of edge metadata from comments

This commit is contained in:
Matthias Radestock
2017-12-17 18:38:36 +00:00
parent b540a1639b
commit 315b05062f
2 changed files with 5 additions and 6 deletions

View File

@@ -6,9 +6,9 @@ import (
"github.com/weaveworks/common/mtime"
)
// Node describes a superset of the metadata that probes can collect about a
// given node in a given topology, along with the edges emanating from the
// node and metadata about those edges.
// Node describes a superset of the metadata that probes can collect
// about a given node in a given topology, along with the edges (aka
// adjacency) emanating from the node.
type Node struct {
ID string `json:"id,omitempty"`
Topology string `json:"topology,omitempty"`

View File

@@ -5,9 +5,8 @@ import (
"strings"
)
// Topology describes a specific view of a network. It consists of nodes and
// edges, and metadata about those nodes and edges, represented by
// EdgeMetadatas and Nodes respectively. Edges are directional, and embedded
// Topology describes a specific view of a network. It consists of
// nodes with metadata, and edges. Edges are directional, and embedded
// in the Node struct.
type Topology struct {
Shape string `json:"shape,omitempty"`