Skip to content

Commit

Permalink
Merge pull request #98 from sanxun0325/fix_readme
Browse files Browse the repository at this point in the history
Fix readme
  • Loading branch information
lzp0412 authored Aug 2, 2020
2 parents eb6c601 + 227cc38 commit 1dba30d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down Expand Up @@ -224,7 +224,7 @@ serviceInfos, err := client.GetAllServicesInfo(vo.GetAllServiceInfoParam{
NameSpace: "0e83cc81-9d8c-4bb8-a28a-ff703187543f",
PageNo: 1,
PageSize: 10,
})),
}),

```

Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down Expand Up @@ -224,7 +224,7 @@ serviceInfos, err := client.GetAllServicesInfo(vo.GetAllServiceInfoParam{
NameSpace: "0e83cc81-9d8c-4bb8-a28a-ff703187543f",
PageNo: 1,
PageSize: 10,
})),
}),

```

Expand Down

0 comments on commit 1dba30d

Please sign in to comment.