v2.0.4
What's Changed
-
Use os.Hostname in addition to Getenv("HOSTNAME") (#29)
Populate the hostname from the OS, not just the environment.The environment variable
HOSTNAME
is not necessarily set on a machine, making a call toos.Hostname()
a useful replacement. -
Disable hostname resolution in TestEscaping_Error.
The test output does not expect the hostname to be printed; fixing #28
breaks the test. -
Updated addSecret() to allow multiple arguments
func AddSecret(secrets ...string)
Full Changelog: v2.0.3...v2.0.4