Skip to content
Snippets Groups Projects
Commit 44b6f9f5 authored by CodingSinger's avatar CodingSinger
Browse files

fix comment

parent 9ae15f11
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......@@ -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
}
......@@ -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)),
}
}
......@@ -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"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment