Skip to content

Commit d320559

Browse files
committed
Fix
1 parent d3df281 commit d320559

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

components/common-go/baseserver/options.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ func WithHostname(hostname string) Option {
5050

5151
func WithHTTPPort(port int) Option {
5252
return func(cfg *config) error {
53-
5453
if port < 0 {
5554
return fmt.Errorf("http port must be greater than 0, got: %d", port)
5655
}

0 commit comments

Comments
 (0)