mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
disallow follow
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user