mirror of
https://github.com/donl/gPanel.git
synced 2026-06-30 06:12:06 -06:00
refactoring listing bundles on server
This commit is contained in:
parent
32d0876aae
commit
5aba3b60dd
3 changed files with 4 additions and 7 deletions
|
|
@ -17,7 +17,6 @@ func List(res http.ResponseWriter, req *http.Request, logger *log.Logger, bundle
|
|||
}
|
||||
|
||||
if len(bundles) <= 0 {
|
||||
logger.Println("no bundles :: http response returns no content")
|
||||
res.WriteHeader(http.StatusNoContent)
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue