From 227cc388f8d4fc2ff7dd14b79ed882b6d8bbffd1 Mon Sep 17 00:00:00 2001 From: sanxun0325 Date: Sun, 2 Aug 2020 20:11:26 +0800 Subject: [PATCH] fix readme --- README.md | 4 ++-- README_CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5eb49d8f..4d28fd23 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ success, err := namingClient.RegisterInstance(vo.RegisterInstanceParam{ Enable: true, Healthy: true, Ephemeral: true, - Metadata: map[string]string{"idc":"shanghai"}, + Metadata: map[string]string{"idc":"shanghai"}, ClusterName: "cluster-a", //default value is DEFAULT GroupName: "group-a", //default value is DEFAULT_GROUP }) @@ -224,7 +224,7 @@ serviceInfos, err := client.GetAllServicesInfo(vo.GetAllServiceInfoParam{ NameSpace: "0e83cc81-9d8c-4bb8-a28a-ff703187543f", PageNo: 1, PageSize: 10, - })), + }), ``` diff --git a/README_CN.md b/README_CN.md index 7350c3c7..0b6988d0 100644 --- a/README_CN.md +++ b/README_CN.md @@ -113,7 +113,7 @@ success, err := namingClient.RegisterInstance(vo.RegisterInstanceParam{ Enable: true, Healthy: true, Ephemeral: true, - Metadata: map[string]string{"idc":"shanghai"}, + Metadata: map[string]string{"idc":"shanghai"}, ClusterName: "cluster-a", //默认值DEFAULT GroupName: "group-a", //默认值DEFAULT_GROUP }) @@ -224,7 +224,7 @@ serviceInfos, err := client.GetAllServicesInfo(vo.GetAllServiceInfoParam{ NameSpace: "0e83cc81-9d8c-4bb8-a28a-ff703187543f", PageNo: 1, PageSize: 10, - })), + }), ```