mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 03:42:21 +08:00
Notify when daemon is ready
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
@ -274,6 +274,7 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf("Daemon is ready\n")
|
||||
// collect long-running errors and block for shutdown
|
||||
// TODO(cryptix): our fuse currently doesnt follow this pattern for graceful shutdown
|
||||
for err := range merge(apiErrc, gwErrc) {
|
||||
|
Reference in New Issue
Block a user