Add root configuration to processPing response
- Include the root path from the configuration in the response of the processPing function to provide additional context for the engine's state.
This commit is contained in:
parent
898ba7d4fd
commit
fa664b7db7
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ func processPing(process *process.Process) interface{} {
|
||||||
res := map[string]interface{}{
|
res := map[string]interface{}{
|
||||||
"engine": share.BUILDNAME,
|
"engine": share.BUILDNAME,
|
||||||
"version": share.VERSION,
|
"version": share.VERSION,
|
||||||
|
"root": config.Conf.Root,
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue