(ctx context.Context)
| 321 | } |
| 322 | |
| 323 | func (h *Handler) TestNodesClient(ctx context.Context) (*test.TestResult, error) { |
| 324 | res := &test.TestResult{} |
| 325 | |
| 326 | cl := compose.PathClient(nodes.AsAdmin()) |
| 327 | err := cl.ListNodesWithCallback(ctx, &tree.ListNodesRequest{Node: &tree.Node{Path: "pydiods1"}}, func(ctx context.Context, node *tree.Node, err error) error { |
| 328 | res.Log("Got node", node.Zap()) |
| 329 | return nil |
| 330 | }, false) |
| 331 | |
| 332 | return res, err |
| 333 | } |
no test coverage detected