k8s: remove dependency on app_mode development (#85474)
* k8s: remove dependency on app_mode development * remove dev conditions on storage server * remove logic to drop entity tables
This commit is contained in:
@@ -106,14 +106,6 @@ func (s *ModuleServer) Run() error {
|
||||
s.notifySystemd("READY=1")
|
||||
s.log.Debug("Waiting on services...")
|
||||
|
||||
// Only allow individual dskit modules to run in dev mode.
|
||||
if s.cfg.Env != setting.Dev {
|
||||
if len(s.cfg.Target) > 1 || s.cfg.Target[0] != "all" {
|
||||
s.log.Error("dskit module targeting is only supported in dev mode. Falling back to 'all'")
|
||||
s.cfg.Target = []string{"all"}
|
||||
}
|
||||
}
|
||||
|
||||
m := modules.New(s.cfg.Target)
|
||||
|
||||
// only run the instrumentation server module if were not running a module that already contains an http server
|
||||
|
||||
Reference in New Issue
Block a user