()
| 511 | } |
| 512 | |
| 513 | func (d *dependency) NodeClient() inventory.NodeClient { |
| 514 | if d.nodeClient != nil { |
| 515 | return d.nodeClient |
| 516 | } |
| 517 | |
| 518 | return inventory.NewNodeClient(d.DBClient()) |
| 519 | } |
| 520 | |
| 521 | func (d *dependency) NodePool(ctx context.Context) (cluster.NodePool, error) { |
| 522 | reload, _ := ctx.Value(ReloadCtx{}).(bool) |
no test coverage detected