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
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user