Skip to content

Commit 30b864a

Browse files
authored
Merge pull request #182 from nacos-group/dev
fix QueryInstancesOfService error cluster param
2 parents 44f9574 + 885682c commit 30b864a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

build/version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<NugetVersion>1.3.1</NugetVersion>
3+
<NugetVersion>1.3.2</NugetVersion>
44
</PropertyGroup>
55
</Project>

src/Nacos/V2/Naming/Remote/Http/NamingHttpClientProxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public async Task<ServiceInfo> QueryInstancesOfService(string serviceName, strin
193193
{
194194
{ CommonParams.NAMESPACE_ID, namespaceId },
195195
{ CommonParams.SERVICE_NAME, groupedServiceName },
196-
{ CommonParams.CLUSTER_NAME, clusters },
196+
{ CommonParams.CLUSTERS_PARAM, clusters },
197197
{ CommonParams.UDP_PORT_PARAM, udpPort.ToString() },
198198
{ CommonParams.CLIENT_IP_PARAM, NetUtils.LocalIP() },
199199
{ CommonParams.HEALTHY_ONLY_PARAM, healthyOnly.ToString() },

src/Nacos/V2/Naming/Utils/CommonParams.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public class CommonParams
2020

2121
public static readonly string PORT_PARAM = "port";
2222

23+
public static readonly string CLUSTERS_PARAM = "clusters";
24+
2325
public static readonly string WEIGHT_PARAM = "weight";
2426

2527
public static readonly string ENABLE_PARAM = "enabled";

0 commit comments

Comments
 (0)