Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateInstances (0.09 sec)

  1. pilot/pkg/serviceregistry/serviceentry/store.go

    		if instance.Endpoint.Address != "" {
    			s.ip2instance[instance.Endpoint.Address] = append(s.ip2instance[instance.Endpoint.Address], instance)
    		}
    	}
    }
    
    func (s *serviceInstancesStore) updateInstances(key configKeyWithParent, instances []*model.ServiceInstance) {
    	// first delete
    	s.deleteInstanceKeys(key, instances)
    
    	// second add
    	s.addInstances(key, instances)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top