metropolis/node/core: fix formatting call to Info instead of Infof
Change-Id: I1188104834e3620907b1ae3df2551d5fffcae713
Reviewed-on: https://review.monogon.dev/c/monogon/+/3752
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/metropolis/node/core/main.go b/metropolis/node/core/main.go
index 5faed17..142242b 100644
--- a/metropolis/node/core/main.go
+++ b/metropolis/node/core/main.go
@@ -216,10 +216,10 @@
for _, c := range interactiveConsoles {
console, err := tconsole.New(tconsole.TerminalLinux, c, lt, &networkSvc.Status, &rs.LocalRoles, &rs.CuratorConnection)
if err != nil {
- logger.Info("Failed to initialize interactive console at %s: %v", c, err)
+ logger.Infof("Failed to initialize interactive console at %s: %v", c, err)
// TODO: fall back to logger
} else {
- logger.Info("Started interactive console at %s", c)
+ logger.Infof("Started interactive console at %s", c)
supervisor.Run(ctx, "console-"+c, console.Run)
}
}