💚 修复单元测试
This commit is contained in:
parent
2edbefd883
commit
60b3de2159
|
@ -206,7 +206,7 @@ func GetFileHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
username := conf.GetOwner(path)
|
username := conf.GetOwner(path)
|
||||||
if "" == username {
|
if "" == username {
|
||||||
logger.Warnf("The path [%s] has no owner")
|
logger.Warnf("The path [%s] has no owner", path)
|
||||||
data["path"] = ""
|
data["path"] = ""
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue