Skip to content

Commit fbfc9aa

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node/node.go

Lines changed: 1 addition & 0 deletions
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)