mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
refactor(tunnel): rename aether-proxy to aether-tunnel
This commit is contained in:
@@ -956,7 +956,8 @@ fn resolve_rollout_probe_config(
|
||||
fn normalize_rollout_version(version: &str) -> String {
|
||||
version
|
||||
.trim()
|
||||
.strip_prefix("proxy-v")
|
||||
.strip_prefix("tunnel-v")
|
||||
.or_else(|| version.trim().strip_prefix("proxy-v"))
|
||||
.unwrap_or(version.trim())
|
||||
.to_ascii_lowercase()
|
||||
}
|
||||
|
||||
@@ -253,7 +253,7 @@ async fn proxy_upgrade_rollout_advances_next_wave_after_version_health_confirmat
|
||||
dns_failures_delta: Some(0),
|
||||
stream_errors_delta: Some(0),
|
||||
proxy_metadata: Some(json!({"version": "2.0.0"})),
|
||||
proxy_version: Some("proxy-v2.0.0".to_string()),
|
||||
proxy_version: Some("tunnel-v2.0.0".to_string()),
|
||||
})
|
||||
.await
|
||||
.expect("heartbeat should succeed");
|
||||
|
||||
Reference in New Issue
Block a user