diff --git a/cluster/router/condition/factory.go b/cluster/router/condition/factory.go index 68534aee44f58821991509fd755417a1f755dc62..66512a138706e9b9ab565f7537a15c37a75deefd 100644 --- a/cluster/router/condition/factory.go +++ b/cluster/router/condition/factory.go @@ -56,4 +56,4 @@ func newAppRouterFactory() router.RouterFactory { // NewRouter Create AppRouterFactory by URL func (c *AppRouterFactory) NewRouter(url *common.URL) (router.Router, error) { return NewAppRouter(url) -} \ No newline at end of file +} diff --git a/cluster/router/condition/factory_test.go b/cluster/router/condition/factory_test.go index 54afcd42411b6599c8874b4f93cb171fb5adf53e..99cec34096a55d3c2a967b63afdf5f6d0a77279a 100644 --- a/cluster/router/condition/factory_test.go +++ b/cluster/router/condition/factory_test.go @@ -365,4 +365,4 @@ func TestNewConditionRouterFactory(t *testing.T) { func TestNewAppRouterFactory(t *testing.T) { factory := newAppRouterFactory() assert.NotNil(t, factory) -} \ No newline at end of file +} diff --git a/cluster/router/healthcheck/default_health_check.go b/cluster/router/healthcheck/default_health_check.go index e580dc1040833b2b5979312c165d7b15376bba15..5be102760325e02ed72e771e2cc0cbb7be8e3819 100644 --- a/cluster/router/healthcheck/default_health_check.go +++ b/cluster/router/healthcheck/default_health_check.go @@ -111,5 +111,3 @@ func NewDefaultHealthChecker(url *common.URL) router.HealthChecker { circuitTrippedTimeoutFactor: int32(url.GetParamInt(CIRCUIT_TRIPPED_TIMEOUT_FACTOR_KEY, DEFAULT_CIRCUIT_TRIPPED_TIMEOUT_FACTOR)), } } - - diff --git a/common/constant/key.go b/common/constant/key.go index 648dc48d8f73f3e8aecc7b3ac1abded93545641b..5690e53ed9fbd2bb7ffef4e0c36cdff76843e42b 100644 --- a/common/constant/key.go +++ b/common/constant/key.go @@ -158,7 +158,7 @@ const ( // ConditionAppRouterName Specify listenable application router name ConditionAppRouterName = "app" // ListenableRouterName Specify listenable router name - ListenableRouterName = "listenable" + ListenableRouterName = "listenable" // HealthCheckRouterName Specify the name of HealthCheckRouter HealthCheckRouterName = "health_check"