You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错内容如下:
[root@MySQL-Master-Xemon xenon]# cat /xenon/data/xenon.log
nohup: ignoring input
xenon:[{Tag:v1.1.4-34-gbae9e0d Time:2023/10/27 14:31:59 Git:bae9e0d GoVersion:go1.20.6 Platform:linux amd64}]
2023/10/28 11:50:02.512056 xenon.go:52: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]
panic: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]
报错内容如下:
[root@MySQL-Master-Xemon xenon]# cat /xenon/data/xenon.log
nohup: ignoring input
xenon:[{Tag:v1.1.4-34-gbae9e0d Time:2023/10/27 14:31:59 Git:bae9e0d GoVersion:go1.20.6 Platform:linux amd64}]
2023/10/28 11:50:02.512056 xenon.go:52: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]
panic: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]
goroutine 1 [running]:
xbase/xlog.(*Log).Panic(0xc00012c3b0, {0x919afa?, 0x90f82d?}, {0xc0000ffc48?, 0xc0000ffc38?, 0x1?})
/root/xenon/src/xbase/xlog/xlog.go:164 +0xc8
main.main()
/root/xenon/src/xenon/xenon.go:52 +0x34a
The text was updated successfully, but these errors were encountered: