func (s *Snapshot) ListNodes() []*v1.Node {
	nodes := make([]*v1.Node, 0, len(s.NodeInfoMap))
	for _, n := range s.NodeInfoMap {
		if n != nil && n.node != nil {
			nodes = append(nodes, n.node)
		}
	}
	return nodes
}
// ListNodes returns the list of nodes in the snapshot.
ListNodes returns the list of nodes in the snapshot.
// ListNodes returns the list of nodes in the snapshot .
func (s *Snapshot) ListNodes() []*v1.Node {
	nodes := make([]*v1.Node, 0, len(s.NodeInfoMap))
	for _, n := range s.NodeInfoMap {
		if n != nil && n.node != nil {
			nodes = append(nodes, n.node)
		}
	}
	return nodes
}
func ( s * Snapshot ) ListNodes ( ) [ ] * v1 . Node { nodes := make ( [ ] * v1 . Node , 0 , len ( s . NodeInfoMap ) ) for _ , n := range s . NodeInfoMap { if n != nil && n . node != nil { nodes = append ( nodes , n . node ) } } return nodes }
ListNodes returns the list of nodes in the snapshot.
ListNodes returns the list of nodes in the snapshot .