(ctx context.Context, in *tree.DeleteNodeRequest, opts ...grpc.CallOption)
| 223 | } |
| 224 | |
| 225 | func (s *CacheHandler) DeleteNode(ctx context.Context, in *tree.DeleteNodeRequest, opts ...grpc.CallOption) (*tree.DeleteNodeResponse, error) { |
| 226 | r, e := s.Next.DeleteNode(ctx, in, opts...) |
| 227 | if e == nil && !nodes.IsFlatStorage(ctx, "in") { |
| 228 | s.cacheDel(ctx, in.GetNode()) |
| 229 | time.Sleep(250 * time.Millisecond) |
| 230 | } |
| 231 | return r, e |
| 232 | } |
| 233 | |
| 234 | func (s *CacheHandler) UpdateNode(ctx context.Context, in *tree.UpdateNodeRequest, opts ...grpc.CallOption) (*tree.UpdateNodeResponse, error) { |
| 235 | if nodes.IsFlatStorage(ctx, "from") && nodes.IsFlatStorage(ctx, "to") { |
nothing calls this directly
no test coverage detected