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:
Francesco Giudici 2022-08-10 15:48:51 +02:00
parent 89d72d325e
commit eab8ac2dca

View File

@ -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()