Skip to content
Snippets Groups Projects
Unverified Commit fb1de8c6 authored by Paulo Gomes's avatar Paulo Gomes
Browse files

remove unused func

parent e1c082e5
No related branches found
No related tags found
No related merge requests found
...@@ -182,13 +182,6 @@ func configureDefaultNamespace() { ...@@ -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 // readPasswordFromStdin reads a password from stdin and returns the input
// with trailing newline and/or carriage return removed. It also makes sure that terminal // with trailing newline and/or carriage return removed. It also makes sure that terminal
// echoing is turned off if stdin is a terminal. // echoing is turned off if stdin is a terminal.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment