Testing
This commit is contained in:
parent
18fc1f5b16
commit
cd593e32d2
@ -826,14 +826,10 @@ impl ServiceCollector {
|
|||||||
|
|
||||||
*start_index = i - 1;
|
*start_index = i - 1;
|
||||||
|
|
||||||
// Build site info string
|
// Build site info string - only show sites with meaningful routing
|
||||||
if !server_names.is_empty() {
|
if !server_names.is_empty() && !destinations.is_empty() {
|
||||||
let primary_name = &server_names[0];
|
let primary_name = &server_names[0];
|
||||||
if destinations.is_empty() {
|
Some(format!("{} {}", primary_name, destinations[0]))
|
||||||
Some(primary_name.clone())
|
|
||||||
} else {
|
|
||||||
Some(format!("{} {}", primary_name, destinations[0]))
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user