mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-21 23:21:48 +00:00
remove unused func
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
e1c082e5ac
commit
fb1de8c649
1 changed files with 0 additions and 7 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue