Skip to content

Commit

Permalink
remove unused func
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
  • Loading branch information
Paulo Gomes committed Aug 5, 2022
1 parent e1c082e commit fb1de8c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/flux/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fb1de8c

Please sign in to comment.