engine, integration, setup: Seeds should be called properly

This commit is contained in:
James Shubin
2025-06-07 17:51:45 -04:00
parent 25263fe9ea
commit 2b7e9c3200
3 changed files with 12 additions and 7 deletions

View File

@@ -115,9 +115,9 @@ func (obj *Svc) Run(ctx context.Context) error {
argv = append(argv, fmt.Sprintf("--ssh-url=%s", s))
}
if seeds := obj.SetupSvcArgs.Seeds; len(seeds) > 0 {
for _, seed := range obj.SetupSvcArgs.Seeds {
// TODO: validate each seed?
s := fmt.Sprintf("--seeds=%s", strings.Join(seeds, ","))
s := fmt.Sprintf("--seeds=%s", seed)
argv = append(argv, s)
}