remove unused func

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
pull/2964/head
Paulo Gomes 2 years ago
parent e1c082e5ac
commit fb1de8c649
No known key found for this signature in database
GPG Key ID: 9995233870E99BEE

@ -182,13 +182,6 @@ func configureDefaultNamespace() {
}
}
func homeDir() string {
if h := os.Getenv("HOME"); h != "" {
return h
}
return os.Getenv("USERPROFILE") // windows
}
// readPasswordFromStdin reads a password from stdin and returns the input
// with trailing newline and/or carriage return removed. It also makes sure that terminal
// echoing is turned off if stdin is a terminal.

Loading…
Cancel
Save