Improve Logging When Parsing JWT Secret (#11300)

* remove all references

* remove warning
This commit is contained in:
Nishant Das
2022-08-24 21:16:48 +08:00
committed by GitHub
parent 4597599196
commit d431ceee25

View File

@@ -61,6 +61,7 @@ func parseJWTSecretFromFile(c *cli.Context) ([]byte, error) {
if len(secret) < 32 {
return nil, errors.New("provided JWT secret should be a hex string of at least 32 bytes")
}
log.Infof("Finished reading JWT secret from %s", jwtSecretFile)
return secret, nil
}