mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-12-12 15:05:39 +00:00
salt: fix DidGenerate docstring (#7372)
This commit is contained in:
committed by
GitHub
parent
ab557dd48f
commit
f1088406f2
@@ -135,8 +135,8 @@ func (s *Salt) GetIdentifiedHMAC(data string) string {
|
||||
return s.config.HMACType + ":" + s.GetHMAC(data)
|
||||
}
|
||||
|
||||
// DidGenerate returns if the underlying salt value was generated
|
||||
// on initialization or if an existing salt value was loaded
|
||||
// DidGenerate returns true if the underlying salt value was generated
|
||||
// on initialization.
|
||||
func (s *Salt) DidGenerate() bool {
|
||||
return s.generated
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user