rename agent setting
This commit is contained in:
parent
820b3e3cf0
commit
d788f9f418
|
@ -37,7 +37,7 @@ func (module *AgentModule) Start() error {
|
||||||
orm.RegisterSchemaWithIndexName(agent.Instance{}, "agent")
|
orm.RegisterSchemaWithIndexName(agent.Instance{}, "agent")
|
||||||
orm.RegisterSchemaWithIndexName(agent.ESNodeInfo{}, "agent-node")
|
orm.RegisterSchemaWithIndexName(agent.ESNodeInfo{}, "agent-node")
|
||||||
orm.RegisterSchemaWithIndexName(host.HostInfo{}, "host")
|
orm.RegisterSchemaWithIndexName(host.HostInfo{}, "host")
|
||||||
orm.RegisterSchemaWithIndexName(agent.Setting{}, "setting")
|
orm.RegisterSchemaWithIndexName(agent.Setting{}, "agent-setting")
|
||||||
common.RegisterClient(&common.Client{})
|
common.RegisterClient(&common.Client{})
|
||||||
|
|
||||||
if module.AgentConfig.StateManager.Enabled {
|
if module.AgentConfig.StateManager.Enabled {
|
||||||
|
|
Loading…
Reference in New Issue