mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 14:40:39 +00:00
Fix UT
This commit is contained in:
@ -34,7 +34,10 @@ func getPort() string {
|
||||
if err != nil {
|
||||
return "8080"
|
||||
}
|
||||
port = config.String("httpport")
|
||||
port, err = config.String("httpport")
|
||||
if err != nil {
|
||||
return "8080"
|
||||
}
|
||||
return port
|
||||
}
|
||||
return port
|
||||
|
Reference in New Issue
Block a user