mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-01 15:07:17 +08:00
fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType: alerter ===> monitor
This commit is contained in:
@@ -45,7 +45,7 @@ import (
|
||||
|
||||
func StartService() {
|
||||
opts := &options.Options
|
||||
common_options.ParseOptions(opts, os.Args, "alerter.conf", "alerter")
|
||||
common_options.ParseOptions(opts, os.Args, "monitor.conf", "monitor")
|
||||
|
||||
commonOpts := &opts.CommonOptions
|
||||
common_app.InitAuth(commonOpts, func() {
|
||||
|
||||
Reference in New Issue
Block a user