Skip to content

Commit

Permalink
fix: allow Transport be
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzhiter committed May 23, 2024
1 parent 795663f commit af59416
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/argparse/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ func (a *Argument) checkTransport() error {
case strings.ToLower(config.TTHeaderFramed):
a.Transport = config.TTHeaderFramed
case "":
return errors.New(errors.ArgParseError, "Transport type is empty")
default:
return errors.New(errors.ArgParseError, "Transport type is invalid")
}
Expand Down

0 comments on commit af59416

Please sign in to comment.