Skip to content

Commit f19428c

Browse files
chore: fix comment
1 parent 7b04a36 commit f19428c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/restserver/internalapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ func (service *HTTPRestService) ReconcileIPAMStateForSwift(ncReqs []*cns.CreateN
407407

408408
func (service *HTTPRestService) ReconcileIPAMStateForNodeSubnet(ncReqs []*cns.CreateNetworkContainerRequest, podInfoByIP map[string]cns.PodInfo) types.ResponseCode {
409409
logger.Printf("Reconciling CNS IPAM state with nc requests: [%+v], PodInfo [%+v]", ncReqs, podInfoByIP)
410-
// if no nc reqs, there is no CRD state yet
410+
411411
if len(ncReqs) != 1 {
412412
logger.Errorf("Nodesubnet should always have 1 NC to hold secondary IPs")
413413
return types.NetworkContainerNotSpecified

0 commit comments

Comments
 (0)