Skip to content

Commit

Permalink
Fix TYPOs in function comments
Browse files Browse the repository at this point in the history
Fix TYPOs in comments for function `CreateWithWaitForReady` and
function `CreateWithDisplaySalutation`.
  • Loading branch information
HeavyWombat committed Dec 5, 2019
1 parent 4c7854c commit 0506897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cluster/createoption.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func CreateWithRetain(retain bool) CreateOption {
}

// CreateWithWaitForReady configures a maximum wait time for the control plane
// node(s) to be ready. By defeault no waiting is performed
// node(s) to be ready. By default no waiting is performed
func CreateWithWaitForReady(waitTime time.Duration) CreateOption {
return createOptionAdapter(func(o *internalcreate.ClusterOptions) error {
o.WaitForReady = waitTime
Expand Down Expand Up @@ -116,7 +116,7 @@ func CreateWithDisplayUsage(displayUsage bool) CreateOption {
})
}

// CreateWithDisplaySalutation enables display a salutation t the end of create
// CreateWithDisplaySalutation enables display a salutation at the end of create
// cluster if displaySalutation is true
func CreateWithDisplaySalutation(displaySalutation bool) CreateOption {
return createOptionAdapter(func(o *internalcreate.ClusterOptions) error {
Expand Down

0 comments on commit 0506897

Please sign in to comment.