Add fmt import
This commit is contained in:
parent
31487e73a3
commit
9d0fdbe289
@ -612,6 +612,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
"fmt"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
@ -628,6 +629,7 @@ func main() {
|
|||||||
if v >= 65536 {
|
if v >= 65536 {
|
||||||
return fmt.Errorf("Flag port value %v out of range[0-65535]", v)
|
return fmt.Errorf("Flag port value %v out of range[0-65535]", v)
|
||||||
}
|
}
|
||||||
|
return nil
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user