This commit is contained in:
JeshuaRen 2024-05-15 10:07:58 +08:00
parent eaff609f94
commit d22bd11e18
5 changed files with 20 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"logger": {
"output": "file",
"output": "stdout",
"outputFileName": "advisor",
"outputDirectory": "log",
"level": "debug"

View File

@ -1,6 +1,6 @@
{
"logger": {
"output": "file",
"output": "stdout",
"outputFileName": "collector",
"outputDirectory": "log",
"level": "debug"
@ -15,7 +15,7 @@
"url": "http://localhost:7890"
},
"unifyOps": {
"url": "http://localhost:7892"
"url": "http://localhost:7891"
},
"slwNodes": [
{

View File

@ -1,6 +1,6 @@
{
"logger": {
"output": "file",
"output": "stdout",
"outputFileName": "executor",
"outputDirectory": "log",
"level": "debug"
@ -15,7 +15,7 @@
"url": "http://localhost:7890"
},
"pcm": {
"url": "http://localhost:7892"
"url": "http://localhost:7070"
},
"reportIntervalSec": 10
}

View File

@ -1,6 +1,6 @@
{
"logger": {
"output": "file",
"output": "stdout",
"outputFileName": "manager",
"outputDirectory": "log",
"level": "debug"

View File

@ -0,0 +1,14 @@
package job
import (
"fmt"
"testing"
)
func TestFunc(t *testing.T) {
a := 1
switch a {
case 1, 2:
fmt.Println("aaa11111")
}
}