mirror of
https://github.com/kairos-io/tpm-helpers.git
synced 2025-07-09 04:23:03 +00:00
Make the linter happy (add a comment)
exported var EmulatedHostSeed should have comment or be unexported Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
This commit is contained in:
parent
89d72d325e
commit
eab8ac2dca
@ -83,6 +83,7 @@ func tokenize() int64 {
|
|||||||
return int64(hashit(hostname))
|
return int64(hashit(hostname))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EmulatedHostSeed generates a seed based on the hostname
|
||||||
var EmulatedHostSeed = func() Option {
|
var EmulatedHostSeed = func() Option {
|
||||||
return func(c *config) error {
|
return func(c *config) error {
|
||||||
c.seed = tokenize()
|
c.seed = tokenize()
|
||||||
|
Loading…
Reference in New Issue
Block a user