Skip to content

Commit cebf04f

Browse files
yacovmmaru-ava
authored andcommitted
Print git commit version upon startup (#3771)
Signed-off-by: Yacov Manevich <[email protected]> Co-authored-by: Maru Newby <[email protected]>
1 parent 368bbc9 commit cebf04f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node/node.go

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func New(
145145

146146
logger.Info("initializing node",
147147
zap.Stringer("version", version.CurrentApp),
148+
zap.String("commit", version.GitCommit),
148149
zap.Stringer("nodeID", n.ID),
149150
zap.Stringer("stakingKeyType", tlsCert.PublicKeyAlgorithm),
150151
zap.Reflect("nodePOP", pop),

0 commit comments

Comments
 (0)