Reject empty clone provisioning sites
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 2m5s
Foundation / checks (tsan) (push) Successful in 8m52s
Foundation / checks (client) (push) Failing after 10m51s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 13m58s
Foundation / checks (postgres) (push) Canceled after 13m54s
Foundation / checks (network) (push) Canceled after 13m59s

This commit is contained in:
dingo
2026-10-11 18:09:13 -04:00
parent bc7be354ae
commit a23d45f7df
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -116,6 +116,8 @@ std::optional<std::uint64_t> number(std::string_view text) {
return value;
}
std::optional<server::SpawnSite> site(std::string_view text) {
if (text.empty())
return std::nullopt;
const auto comma = text.find(',');
if (comma == std::string_view::npos || text.find(',', comma + 1) != std::string_view::npos)
return std::nullopt;