Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chain33-pai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
szh
chain33-pai
Commits
d52ccd59
Commit
d52ccd59
authored
May 06, 2022
by
szh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
725a93b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
process.go
pkg/app/process.go
+2
-1
No files found.
pkg/app/process.go
View file @
d52ccd59
...
@@ -188,7 +188,8 @@ func MakeSureNodeRunning() error {
...
@@ -188,7 +188,8 @@ func MakeSureNodeRunning() error {
tlog
.
Error
(
"MakeSureNodeRunning SetPai"
,
"err"
,
pai
.
Err
)
tlog
.
Error
(
"MakeSureNodeRunning SetPai"
,
"err"
,
pai
.
Err
)
//判断未启动时 检查配置文件是否正常
//判断未启动时 检查配置文件是否正常
if
strings
.
Contains
(
pai
.
Err
,
"8802"
)
{
if
strings
.
Contains
(
pai
.
Err
,
"8802"
)
{
toml
:=
path
.
Dir
(
Bityuan
.
Path
)
+
"/bityuan.toml"
toml
:=
GetAbsPath
(
setting
.
BityuanSetting
.
Name
)
+
"/bityuan.toml"
tlog
.
Info
(
"toml "
,
"path"
,
toml
)
tlog
.
Info
(
"toml "
,
"path"
,
toml
)
configSize
,
err
:=
util
.
GetFileSizeByBytes
(
toml
)
configSize
,
err
:=
util
.
GetFileSizeByBytes
(
toml
)
if
err
!=
nil
{
if
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment