diff --git a/client/fs_endpoint.go b/client/fs_endpoint.go index 307ccb8e7..95f1a9695 100644 --- a/client/fs_endpoint.go +++ b/client/fs_endpoint.go @@ -836,6 +836,9 @@ func logIndexes(entries []*cstructs.AllocFileInfo, task, logType string) (indexT return indexTupleArray(indexes), nil } +// notFoundErr is returned when a log is requested but cannot be found. +// Implements agent.HTTPCodedError but does not reference it to avoid circular +// imports. type notFoundErr struct { taskName string logType string