Commit 0d9ae8f8 authored by yuanfeng's avatar yuanfeng

fix typo

parent c05d3317
...@@ -353,7 +353,7 @@ int DiscoveryNamingService::GetServers(const char* service_name, ...@@ -353,7 +353,7 @@ int DiscoveryNamingService::GetServers(const char* service_name,
"/discovery/fetchs?appid=%s&env=%s&status=%s", service_name, "/discovery/fetchs?appid=%s&env=%s&status=%s", service_name,
FLAGS_discovery_env.c_str(), FLAGS_discovery_status.c_str()); FLAGS_discovery_env.c_str(), FLAGS_discovery_status.c_str());
if (!FLAGS_discovery_zone.empty()) { if (!FLAGS_discovery_zone.empty()) {
uri_str.append("&zone=", 6); uri_str.append("&zone=");
uri_str.append(FLAGS_discovery_zone); uri_str.append(FLAGS_discovery_zone);
} }
cntl.http_request().uri() = uri_str; cntl.http_request().uri() = uri_str;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment