Skip to content

Commit

Permalink
Update validatePorts function comment for goDoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyabu12 committed Mar 23, 2022
1 parent 513a757 commit 1832ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ func validateFlags(cmd *cobra.Command, drvName string) {
validateInsecureRegistry()
}

// This function validates that the --ports are not below 1024 for the host and not outside range
// validatePorts validates that the --ports are not below 1024 for the host and not outside range
func validatePorts(ports []string) error {
_, portBindingsMap, err := nat.ParsePortSpecs(ports)
if err != nil {
Expand Down

0 comments on commit 1832ed6

Please sign in to comment.