From 99a2d954334a4522d76ff318fb60c4a7494e81b9 Mon Sep 17 00:00:00 2001 From: bittoy Date: Tue, 30 Mar 2021 20:45:55 +0800 Subject: [PATCH] remove rt mode log (#587) --- core/service/serviceconf.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/service/serviceconf.go b/core/service/serviceconf.go index 33eb09bf..ccf22466 100644 --- a/core/service/serviceconf.go +++ b/core/service/serviceconf.go @@ -14,6 +14,8 @@ const ( DevMode = "dev" // TestMode means test mode. TestMode = "test" + // RtMode means rt mode. + RtMode = "rt" // PreMode means pre-release mode. PreMode = "pre" // ProMode means production mode. @@ -56,7 +58,7 @@ func (sc ServiceConf) SetUp() error { func (sc ServiceConf) initMode() { switch sc.Mode { - case DevMode, TestMode, PreMode: + case DevMode, TestMode, RtMode, PreMode: load.Disable() stat.SetReporter(nil) }