[ntcore] SetServerTeam: Use Systemcore name/addresses (#8314)

This commit is contained in:
Thad House
2025-12-16 22:28:45 -08:00
committed by GitHub
parent e2d492ac3f
commit d6b54bbae2
3 changed files with 12 additions and 16 deletions

View File

@@ -289,9 +289,8 @@ void Downloader::ThreadMain() {
if (auto team =
wpi::util::parse_integer<unsigned int>(m_serverTeam, 10)) {
// team number
session = std::make_unique<sftp::Session>(
fmt::format("roborio-{}-frc.local", team.value()), 22,
m_username, m_password);
session = std::make_unique<sftp::Session>("robot.local", 22,
m_username, m_password);
} else {
session = std::make_unique<sftp::Session>(m_serverTeam, 22,
m_username, m_password);