Skip to content

Commit

Permalink
fix issue with log report 'failed to delete a NetworkServiceEndpoints'
Browse files Browse the repository at this point in the history
Signed-off-by: denis-tingaikin <[email protected]>
  • Loading branch information
denis-tingaikin committed Oct 1, 2024
1 parent 4f35c79 commit 33c9a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/etcd/nse_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (n *etcdNSERegistryServer) Unregister(ctx context.Context, request *registr
},
})
if err != nil {
return nil, errors.Wrapf(err, "failed to delete a NetworkServiceEndpoints %s in a namespace %s", request.Name, n.ns)
log.FromContext(ctx).Warnf("failed to delete a NetworkServiceEndpoints %s in a namespace %s, cause: %v", request.Name, n.ns, err.Error())
}
n.versions.Delete(request.GetName())
}
Expand Down

0 comments on commit 33c9a76

Please sign in to comment.