Skip to content

Commit

Permalink
Fix small mistakes in function doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmers committed Jul 6, 2023
1 parent e6ebdae commit 07e7be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/prompter/survey.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (cli *CliPrompter) Choose(pr string, options []string) int {
return 0
}

// StringRequired prompt for string which is required
// String prompt for string with a default
func (cli *CliPrompter) String(pr string, defaultValue string) string {
val := ""
prompt := &survey.Input{
Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/okta/okta_duo_u2f.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ResponseData struct {
KeyHandle string `json:"keyHandle"`
}

// NewFidoClient returns a new initialized FIDO1-based WebAuthnClient, representing a single device
// NewDUOU2FClient returns a new initialized DUOU2F-based WebAuthnClient, representing a single device
func NewDUOU2FClient(challengeNonce, appID, version, keyHandle, stateToken string, deviceFinder DeviceFinder) (*DUOU2FClient, error) {
var device u2fhost.Device
var err error
Expand Down

0 comments on commit 07e7be8

Please sign in to comment.