上一个提交详细写错了,应该是编写PushExplorerWeb()

This commit is contained in:
chenxinquan 2022-11-08 20:03:01 +08:00
parent f2668ae4b9
commit 930f36b586
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,7 @@ func (dtr *doctor)PushExplorerDBus(configfile string) error {
}
func (dtr *doctor)PushExplorerKernel(configfile string) error {
// TODO: need to test
ek := ExplorerKernel{}
ek.Setup(&ConfigParserYAML{}, &ExplorerConfigKernel{})
ek.LoadConfig(configfile)
@ -169,6 +170,7 @@ func (dtr *doctor)PushExplorerKernel(configfile string) error {
}
func (dtr *doctor)PushExplorerSystem(configfile string) error {
// TODO: need to test
ek := ExplorerSystem{}
ek.Setup(&ConfigParserYAML{}, &ExplorerConfigSystem{})
ek.LoadConfig(configfile)
@ -187,6 +189,7 @@ func (dtr *doctor)PushExplorerSystem(configfile string) error {
}
func (dtr *doctor)PushExplorerWeb(configfile string) error {
// TODO: need to test
ek := ExplorerWeb{}
ek.Setup(&ConfigParserYAML{}, &ExplorerConfigWeb{})
ek.LoadConfig(configfile)