Ver código fonte

Remove requirement for SpecProviderID for node stats (#3418)

Matt Bolt 6 meses atrás
pai
commit
503c0cdea1
1 arquivos alterados com 0 adições e 5 exclusões
  1. 0 5
      core/pkg/nodestats/nodestats.go

+ 0 - 5
core/pkg/nodestats/nodestats.go

@@ -65,11 +65,6 @@ func (nssc *NodeStatsSummaryClient) GetNodeData() ([]*stats.Summary, error) {
 	var errs []error
 
 	work := func(n *clustercache.Node) *stats.Summary {
-		if n.SpecProviderID == "" {
-			log.Warnf("node ProviderID not set, skipping for %s", n.Name)
-			return nil
-		}
-
 		connections := nssc.connectionOptions(n)
 
 		resp, err := requestNodeData(connections, nssc.endpoint, bearerToken)