Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for peerChannels (0.06 sec)

  1. cmd/notification.go

    	if sys == nil {
    		return nil
    	}
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	peerChannels := make([]<-chan MetricV2, len(sys.peerClients))
    	for index := range sys.peerClients {
    		index := index
    		g.Go(func() error {
    			if sys.peerClients[index] == nil {
    				return errPeerNotReachable
    			}
    			var err error
    			peerChannels[index], err = sys.peerClients[index].GetResourceMetrics(ctx)
    			return err
    		}, index)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top