Skip to content

Commit

Permalink
chore(cmd): remove deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredallard committed Sep 26, 2020
1 parent 2832756 commit e8c2c43
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions cmd/localizer/localizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@ import (
"k8s.io/client-go/rest"
)

// getUserInput returns user input and prints the given prompt
func getUserInput(prompt string) (string, error) {
fmt.Print(prompt)

var input string
_, err := fmt.Scanln(&input)
if err != nil {
return "", err
}

return input, err
}

func main() { //nolint:funlen,gocyclo
ctx, cancel := context.WithCancel(context.Background())
log := logrus.New()
Expand Down

0 comments on commit e8c2c43

Please sign in to comment.