This commit is contained in:
2023-10-09 09:23:04 +08:00
parent 159956824b
commit 78e54c0813
3 changed files with 12 additions and 6 deletions

5
.gitignore vendored
View File

@@ -16,7 +16,6 @@ crontask/database/
crontask/export/ crontask/export/
crontask/temp crontask/temp
crontask/crontask crontask/crontask
crontask/__debug_bin*.exe
restagent/backup/ restagent/backup/
restagent/log/ restagent/log/
@@ -24,17 +23,14 @@ restagent/upload/
restagent/software/ restagent/software/
restagent/database/ restagent/database/
restagent/restagent restagent/restagent
restagent/__debug_bin*.exe
sshsvc/sshsvc sshsvc/sshsvc
sshsvc/mmllog/ sshsvc/mmllog/
sshsvc/mmlhome/ sshsvc/mmlhome/
sshsvc/log/ sshsvc/log/
sshsvc/__debug_bin*.exe
captrace/captrace captrace/captrace
captrace/log/ captrace/log/
captrace/__debug_bin*.exe
tools/loadmconf/loadmconf tools/loadmconf/loadmconf
@@ -45,4 +41,5 @@ vendor
*.log *.log
*.log-* *.log-*
*.bak *.bak
__debug_bin*.exe

11
.vscode/launch.json vendored
View File

@@ -27,6 +27,15 @@
"mode": "debug", "mode": "debug",
"program": "d:/local.git/ems.agt/sshsvc/sshsvc.go", "program": "d:/local.git/ems.agt/sshsvc/sshsvc.go",
"console": "integratedTerminal" "console": "integratedTerminal"
} },
{
"name": "debug loadpconf",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/tools/loadpconf",
"args": ["-p","../../config/param/upf_param_config.yaml"],
"console": "integratedTerminal"
}
] ]
} }

View File

@@ -6,7 +6,7 @@ import (
func main() { func main() {
fmt.Println("========================= OMC loadpconf startup =========================") fmt.Println("========================= OMC loadpconf startup =========================")
fmt.Println("OMC loadpconf version: %s %s %s", version, buildTime, goVer) fmt.Printf("OMC loadpconf version: %s %s %s", version, buildTime, goVer)
for _, f := range pfiles { for _, f := range pfiles {
fmt.Println("f:", f) fmt.Println("f:", f)