(hosts []*registry.AgentHost)
| 1035 | } |
| 1036 | |
| 1037 | func formatPlanHosts(hosts []*registry.AgentHost) string { |
| 1038 | names := make([]string, len(hosts)) |
| 1039 | for i, host := range hosts { |
| 1040 | names[i] = host.Name |
| 1041 | } |
| 1042 | return strings.Join(names, ", ") |
| 1043 | } |
| 1044 | |
| 1045 | func checkOverwrite(opts *InstallOptions, skills []discovery.Skill, targetDir string, canPrompt bool) ([]discovery.Skill, error) { |
| 1046 | var existing, fresh []discovery.Skill |
no test coverage detected