(hosts []*registry.AgentHost)
| 476 | } |
| 477 | |
| 478 | func mapAgentHostsToIDs(hosts []*registry.AgentHost) string { |
| 479 | agentHostIDs := make([]string, len(hosts)) |
| 480 | for i, h := range hosts { |
| 481 | agentHostIDs[i] = h.ID |
| 482 | } |
| 483 | return strings.Join(agentHostIDs, ",") |
| 484 | } |
| 485 | |
| 486 | // runLocalInstall handles installation from a local directory path. |
| 487 | func runLocalInstall(opts *InstallOptions) error { |