Skip to content

Commit 626eab9

Browse files
author
Mugesh SP
committed
fix: clean up code
1 parent 928e6a2 commit 626eab9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cns/restserver/ipam.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,6 @@ func verifyUpdateEndpointStateRequest(req map[string]*IPInfo) error {
13581358
return nil
13591359
}
13601360

1361-
<<<<<<< HEAD
13621361
// getIPFamiliesMap returns a map of IP families present across all NC's
13631362
func (service *HTTPRestService) getIPFamiliesMap() map[cns.IPFamily]struct{} {
13641363
ncIPFamilies := map[cns.IPFamily]struct{}{}
@@ -1395,7 +1394,8 @@ func (service *HTTPRestService) getIPFamiliesMap() map[cns.IPFamily]struct{} {
13951394
// - In dual-stack: 2 IPs per pod (one IPv4, one IPv6)
13961395
func (service *HTTPRestService) GetIPFamilyCount() int {
13971396
return len(service.getIPFamiliesMap())
1398-
=======
1397+
}
1398+
13991399
func (service *HTTPRestService) DeleteEndpointStateHandler(w http.ResponseWriter, r *http.Request) {
14001400
opName := "DeleteEndpointStateHandler"
14011401
logger.Printf("[DeleteEndpointStateHandler] DeleteEndpointState for %s", r.URL.Path) //nolint:staticcheck // reason: using deprecated call until migration to new API
@@ -1460,5 +1460,4 @@ func (service *HTTPRestService) DeleteEndpointStateHelper(endpointID string) err
14601460
}
14611461
logger.Printf("[deleteEndpointState] successfully deleted endpoint %s from state file", endpointID) //nolint:staticcheck // reason: using deprecated call until migration to new API
14621462
return nil
1463-
>>>>>>> 79f3d9a0d (feat: Implement DeleteEndpointState API and integrate with network manager)
14641463
}

0 commit comments

Comments
 (0)