File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,9 @@ func (service *HTTPRestService) UpdateIPsForNodeSubnet(secondaryIPs []netip.Addr
3434 return nil
3535}
3636
37- // initialization steps for nodesubnet:
38- // 1. Set orchestrator type to KubernetesCRD
39- // 2. Reconcile initial CNS state from statefile
40- // 3. Create the IP fetcher
37+ // InitializeNodeSubnet prepares CNS for serving NodeSubnet requests.
38+ // It sets the orchestrator type to KubernetesCRD, reconciles the initial
39+ // CNS state from the statefile, then creates an IP fetcher.
4140func (service * HTTPRestService ) InitializeNodeSubnet (ctx context.Context , podInfoByIPProvider cns.PodInfoByIPProvider ) error {
4241 // set orchestrator type
4342 orchestrator := cns.SetOrchestratorTypeRequest {
You can’t perform that action at this time.
0 commit comments