(hosts []*registry.AgentHost)
| 1028 | } |
| 1029 | |
| 1030 | func formatPlanHosts(hosts []*registry.AgentHost) string { |
| 1031 | names := make([]string, len(hosts)) |
| 1032 | for i, host := range hosts { |
| 1033 | names[i] = host.Name |
| 1034 | } |
| 1035 | return strings.Join(names, ", ") |
| 1036 | } |
| 1037 | |
| 1038 | func checkOverwrite(opts *InstallOptions, skills []discovery.Skill, targetDir string, canPrompt bool) ([]discovery.Skill, error) { |
| 1039 | var existing, fresh []discovery.Skill |
no test coverage detected