From 6dbad2903ec310bebce079c853a160323845b444 Mon Sep 17 00:00:00 2001
From: "vito.he" <hxmhlt@163.com>
Date: Fri, 6 Sep 2019 23:16:18 +0800
Subject: [PATCH] Fix:failoverbug and reties change to string type

---
 .../with-configcenter-go-client/profiles/dev/client.yml     | 2 +-
 .../with-configcenter-go-client/profiles/release/client.yml | 2 +-
 .../with-configcenter-go-client/profiles/test/client.yml    | 2 +-
 .../with-configcenter-go-server/profiles/dev/server.yml     | 2 +-
 .../with-configcenter-go-server/profiles/release/server.yml | 2 +-
 .../with-configcenter-go-server/profiles/test/server.yml    | 2 +-
 examples/consul/go-client/config/client.yml                 | 2 +-
 examples/consul/go-server/config/server.yml                 | 2 +-
 examples/general/dubbo/go-client/profiles/dev/client.yml    | 6 +++---
 .../general/dubbo/go-client/profiles/release/client.yml     | 6 +++---
 examples/general/dubbo/go-client/profiles/test/client.yml   | 6 +++---
 examples/general/dubbo/go-server/profiles/dev/server.yml    | 6 +++---
 .../general/dubbo/go-server/profiles/release/server.yml     | 6 +++---
 examples/general/dubbo/go-server/profiles/test/server.yml   | 6 +++---
 examples/general/jsonrpc/go-client/profiles/dev/client.yml  | 6 +++---
 examples/general/jsonrpc/go-server/profiles/dev/server.yml  | 6 +++---
 examples/helloworld/dubbo/go-client/profiles/dev/client.yml | 2 +-
 examples/helloworld/dubbo/go-server/profiles/dev/server.yml | 2 +-
 .../dubbo/with-hystrix-go-client/profiles/dev/client.yml    | 2 +-
 19 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/dev/client.yml b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/dev/client.yml
index c8e7bd0b0..48b7b0ce9 100644
--- a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/dev/client.yml
+++ b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/dev/client.yml
@@ -13,7 +13,7 @@ references:
     cluster: "failover"
     methods :
       - name: "GetUser"
-        retries: 3
+        retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/release/client.yml b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/release/client.yml
index c8e7bd0b0..48b7b0ce9 100644
--- a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/release/client.yml
+++ b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/release/client.yml
@@ -13,7 +13,7 @@ references:
     cluster: "failover"
     methods :
       - name: "GetUser"
-        retries: 3
+        retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/test/client.yml b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/test/client.yml
index c8e7bd0b0..48b7b0ce9 100644
--- a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/test/client.yml
+++ b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-client/profiles/test/client.yml
@@ -13,7 +13,7 @@ references:
     cluster: "failover"
     methods :
       - name: "GetUser"
-        retries: 3
+        retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/dev/server.yml b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/dev/server.yml
index cdaaca4c3..219b92aeb 100644
--- a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/dev/server.yml
+++ b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/dev/server.yml
@@ -17,7 +17,7 @@ services:
     cluster: "failover"
     methods:
       - name: "GetUser"
-        retries: 1
+        retries: "1"
         loadbalance: "random"
 
 protocol_conf:
diff --git a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/release/server.yml b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/release/server.yml
index cdaaca4c3..219b92aeb 100644
--- a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/release/server.yml
+++ b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/release/server.yml
@@ -17,7 +17,7 @@ services:
     cluster: "failover"
     methods:
       - name: "GetUser"
-        retries: 1
+        retries: "1"
         loadbalance: "random"
 
 protocol_conf:
diff --git a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/test/server.yml b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/test/server.yml
index cdaaca4c3..219b92aeb 100644
--- a/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/test/server.yml
+++ b/examples/configcenter/zookeeper/dubbo/with-configcenter-go-server/profiles/test/server.yml
@@ -17,7 +17,7 @@ services:
     cluster: "failover"
     methods:
       - name: "GetUser"
-        retries: 1
+        retries: "1"
         loadbalance: "random"
 
 protocol_conf:
diff --git a/examples/consul/go-client/config/client.yml b/examples/consul/go-client/config/client.yml
index 8a7458c38..4c0acde0d 100644
--- a/examples/consul/go-client/config/client.yml
+++ b/examples/consul/go-client/config/client.yml
@@ -21,7 +21,7 @@ references:
     cluster: "failover"
     methods :
       - name: "SayHello"
-        retries: 3
+        retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/consul/go-server/config/server.yml b/examples/consul/go-server/config/server.yml
index c12800e68..aa105327f 100644
--- a/examples/consul/go-server/config/server.yml
+++ b/examples/consul/go-server/config/server.yml
@@ -23,7 +23,7 @@ services:
     cluster: "failover"
     methods:
       - name: "SayHello"
-        retries: 1
+        retries: "1"
         loadbalance: "random"
 
 protocols:
diff --git a/examples/general/dubbo/go-client/profiles/dev/client.yml b/examples/general/dubbo/go-client/profiles/dev/client.yml
index ff6966884..4c2ad17cb 100644
--- a/examples/general/dubbo/go-client/profiles/dev/client.yml
+++ b/examples/general/dubbo/go-client/profiles/dev/client.yml
@@ -39,7 +39,7 @@ references:
     cluster: "failover"
     methods :
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider1":
     registry: "hangzhouzk"
     protocol: "dubbo"
@@ -48,7 +48,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider2":
     registry: "hangzhouzk"
     protocol: "dubbo"
@@ -58,7 +58,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/general/dubbo/go-client/profiles/release/client.yml b/examples/general/dubbo/go-client/profiles/release/client.yml
index b4d897fda..6b45f4407 100644
--- a/examples/general/dubbo/go-client/profiles/release/client.yml
+++ b/examples/general/dubbo/go-client/profiles/release/client.yml
@@ -39,7 +39,7 @@ references:
     cluster: "failover"
     methods :
       - name: "GetUser"
-        retries: 3
+        retries: "3"
   "UserProvider1":
     registry: "hangzhouzk"
     protocol: "dubbo"
@@ -48,7 +48,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider2":
     registry: "hangzhouzk"
     protocol: "dubbo"
@@ -58,7 +58,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/general/dubbo/go-client/profiles/test/client.yml b/examples/general/dubbo/go-client/profiles/test/client.yml
index c8b5c5869..a9ebe3bb3 100644
--- a/examples/general/dubbo/go-client/profiles/test/client.yml
+++ b/examples/general/dubbo/go-client/profiles/test/client.yml
@@ -39,7 +39,7 @@ references:
     cluster: "failover"
     methods :
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider1":
     registry: "hangzhouzk"
     protocol: "dubbo"
@@ -48,7 +48,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider2":
     registry: "hangzhouzk"
     protocol: "dubbo"
@@ -58,7 +58,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
 
 protocol_conf:
   dubbo:
diff --git a/examples/general/dubbo/go-server/profiles/dev/server.yml b/examples/general/dubbo/go-server/profiles/dev/server.yml
index 79c2cb2cc..576a94475 100644
--- a/examples/general/dubbo/go-server/profiles/dev/server.yml
+++ b/examples/general/dubbo/go-server/profiles/dev/server.yml
@@ -38,7 +38,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider1":
     registry: "hangzhouzk"
@@ -50,7 +50,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider2":
     registry: "hangzhouzk"
@@ -63,7 +63,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
 
 protocols:
diff --git a/examples/general/dubbo/go-server/profiles/release/server.yml b/examples/general/dubbo/go-server/profiles/release/server.yml
index 6890ed3bd..dc3bc0027 100644
--- a/examples/general/dubbo/go-server/profiles/release/server.yml
+++ b/examples/general/dubbo/go-server/profiles/release/server.yml
@@ -37,7 +37,7 @@ services:
     cluster: "failover"
     methods:
       - name: "GetUser"
-        retries: 1
+        retries: "1"
         loadbalance: "random"
   "UserProvider1":
     registry: "hangzhouzk"
@@ -49,7 +49,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider2":
     registry: "hangzhouzk"
@@ -62,7 +62,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
 
 protocols:
diff --git a/examples/general/dubbo/go-server/profiles/test/server.yml b/examples/general/dubbo/go-server/profiles/test/server.yml
index b6dd41da4..0aab159b1 100644
--- a/examples/general/dubbo/go-server/profiles/test/server.yml
+++ b/examples/general/dubbo/go-server/profiles/test/server.yml
@@ -37,7 +37,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider1":
     registry: "hangzhouzk"
@@ -49,7 +49,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider2":
     registry: "hangzhouzk"
@@ -62,7 +62,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
 
 protocols:
diff --git a/examples/general/jsonrpc/go-client/profiles/dev/client.yml b/examples/general/jsonrpc/go-client/profiles/dev/client.yml
index 788e06eec..8d2482f1b 100644
--- a/examples/general/jsonrpc/go-client/profiles/dev/client.yml
+++ b/examples/general/jsonrpc/go-client/profiles/dev/client.yml
@@ -38,7 +38,7 @@ references:
     cluster: "failover"
     methods :
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider1":
     registry: "hangzhouzk"
     protocol: "jsonrpc"
@@ -47,7 +47,7 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
   "UserProvider2":
     registry: "hangzhouzk"
     protocol: "jsonrpc"
@@ -57,4 +57,4 @@ references:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 3
+      retries: "3"
diff --git a/examples/general/jsonrpc/go-server/profiles/dev/server.yml b/examples/general/jsonrpc/go-server/profiles/dev/server.yml
index 4d74d2ef6..10a0898b2 100644
--- a/examples/general/jsonrpc/go-server/profiles/dev/server.yml
+++ b/examples/general/jsonrpc/go-server/profiles/dev/server.yml
@@ -36,7 +36,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider1":
     registry: "hangzhouzk"
@@ -48,7 +48,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
   "UserProvider2":
     registry: "hangzhouzk"
@@ -61,7 +61,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
 
 protocols:
diff --git a/examples/helloworld/dubbo/go-client/profiles/dev/client.yml b/examples/helloworld/dubbo/go-client/profiles/dev/client.yml
index fed05b097..226fbddd1 100644
--- a/examples/helloworld/dubbo/go-client/profiles/dev/client.yml
+++ b/examples/helloworld/dubbo/go-client/profiles/dev/client.yml
@@ -34,7 +34,7 @@ references:
     cluster: "failover"
     methods :
     - name: "GetUser"
-      retries: 3
+      retries: "3"
 
 
 protocol_conf:
diff --git a/examples/helloworld/dubbo/go-server/profiles/dev/server.yml b/examples/helloworld/dubbo/go-server/profiles/dev/server.yml
index be7eedeaa..7df17934f 100644
--- a/examples/helloworld/dubbo/go-server/profiles/dev/server.yml
+++ b/examples/helloworld/dubbo/go-server/profiles/dev/server.yml
@@ -28,7 +28,7 @@ services:
     cluster: "failover"
     methods:
     - name: "GetUser"
-      retries: 1
+      retries: "1"
       loadbalance: "random"
 
 protocols:
diff --git a/examples/hystrixfilter/dubbo/with-hystrix-go-client/profiles/dev/client.yml b/examples/hystrixfilter/dubbo/with-hystrix-go-client/profiles/dev/client.yml
index 5b5003fb2..4a438cc95 100644
--- a/examples/hystrixfilter/dubbo/with-hystrix-go-client/profiles/dev/client.yml
+++ b/examples/hystrixfilter/dubbo/with-hystrix-go-client/profiles/dev/client.yml
@@ -41,7 +41,7 @@ references:
     cluster: "failover"
     methods :
       - name: "GetUser"
-        retries: 3
+        retries: "3"
 
 protocol_conf:
   dubbo:
-- 
GitLab