xetys / hetzner-kube

A CLI tool for provisioning kubernetes clusters on Hetzner Cloud
Apache License 2.0
743 stars 117 forks source link

Use os.UserHomeDir #346

Open stephank opened 3 years ago

stephank commented 3 years ago

The current behaviour uses the OS user database to find the home directory, ignoring the environment like $HOME. The os.UserHomeDir function is available since Go 1.12, and it looks like we depend on 1.13 at least.