(id int)
| 562 | } |
| 563 | |
| 564 | func (c *LocalCluster) StartAlpha(id int) error { |
| 565 | if id >= c.conf.numAlphas { |
| 566 | return fmt.Errorf("invalid id of alpha: %v", id) |
| 567 | } |
| 568 | return c.startContainer(c.alphas[id]) |
| 569 | } |
| 570 | |
| 571 | func (c *LocalCluster) startContainer(dc dnode) error { |
| 572 | ctx, cancel := context.WithTimeout(context.Background(), requestTimeout) |