diff --git a/pkg/nodepassword/nodepassword.go b/pkg/nodepassword/nodepassword.go index a9c93543a1..a2f3abf156 100644 --- a/pkg/nodepassword/nodepassword.go +++ b/pkg/nodepassword/nodepassword.go @@ -110,7 +110,6 @@ func MigrateFile(secretClient coreclient.SecretClient, nodeClient coreclient.Nod } } } - ms := time.Since(start).Milliseconds() - logrus.Infof("Migrated %d node password entries in %d milliseconds, average %d ms", ensured, ms, ms/ensured) + logrus.Infof("Migrated %d node password entries in %s", ensured, time.Since(start)) return os.Remove(passwordFile) }