Skip to content

Commit 6ec4203

Browse files
ignore removenamespace endpoint error (#1272)
1 parent 25d47e2 commit 6ec4203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/endpoint_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ func (nw *network) deleteEndpointImplHnsV2(ep *endpoint) error {
502502

503503
// Remove this endpoint from the namespace
504504
if err = hnsv2.RemoveNamespaceEndpoint(hcnEndpoint.HostComputeNamespace, hcnEndpoint.Id); err != nil {
505-
return fmt.Errorf("Failed to remove hcn endpoint: %s from namespace: %s due to error: %v", ep.HnsId,
505+
log.Errorf("Failed to remove hcn endpoint: %s from namespace: %s due to error: %v", ep.HnsId,
506506
hcnEndpoint.HostComputeNamespace, err)
507507
}
508508

0 commit comments

Comments
 (0)