mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 06:44:23 +01:00
add commit hash to logs
This commit is contained in:
2
main.go
2
main.go
@@ -13,6 +13,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/breez/lspd/build"
|
||||
"github.com/breez/lspd/chain"
|
||||
"github.com/breez/lspd/cln"
|
||||
"github.com/breez/lspd/common"
|
||||
@@ -38,6 +39,7 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
log.Printf(`Starting lspd, tag='%s', revision='%s'`, build.GetTag(), build.GetRevision())
|
||||
n := os.Getenv("NODES")
|
||||
var nodeConfigs []*config.NodeConfig
|
||||
err := json.Unmarshal([]byte(n), &nodeConfigs)
|
||||
|
||||
Reference in New Issue
Block a user