Showing 81 of 81 total issues
Method Uchiwa.datacentersHandler
has 5 return statements (exceeds 4 allowed). Open
Open
func (u *Uchiwa) datacentersHandler(w http.ResponseWriter, r *http.Request) {
if r.Method != http.MethodGet && r.Method != http.MethodHead {
http.Error(w, "", http.StatusBadRequest)
return
}