disallow follow

This commit is contained in:
Alex Dadgar 2017-01-23 15:12:09 -08:00
parent 6478167e19
commit 6590990263

View file

@ -740,6 +740,10 @@ func (s *HTTPServer) Logs(resp http.ResponseWriter, req *http.Request) (interfac
if plain, err = strconv.ParseBool(plainStr); err != nil {
return nil, fmt.Errorf("Failed to parse plain field to boolean: %v", err)
}
if plain {
follow = false
}
}
logType = q.Get("type")