Skip to content

Commit

Permalink
Fix case for No string to no (flyteorg#419)
Browse files Browse the repository at this point in the history
Signed-off-by: Future Outlier <[email protected]>
Co-authored-by: Future Outlier <[email protected]>
  • Loading branch information
Future-Outlier and Future Outlier authored Sep 17, 2023
1 parent 6923203 commit 0e3f2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytectl/pkg/commandutils/command_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func AskForConfirmation(s string, reader io.Reader) bool {
response := strings.ToLower(strings.TrimSpace(r.Text()))
if response == "y" || response == "yes" {
return true
} else if response == "n" || response == "No" {
} else if response == "n" || response == "no" {
return false
}
}
Expand Down

0 comments on commit 0e3f2a8

Please sign in to comment.