Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Autopsy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Autopsy
Commits
0090b189
Commit
0090b189
authored
3 years ago
by
apriestman
Browse files
Options
Downloads
Patches
Plain Diff
Use original start time if no pipelines are running
parent
2b034c65
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Core/src/org/sleuthkit/autopsy/ingest/IngestJobExecutor.java
+11
-10
11 additions, 10 deletions
Core/src/org/sleuthkit/autopsy/ingest/IngestJobExecutor.java
with
11 additions
and
10 deletions
Core/src/org/sleuthkit/autopsy/ingest/IngestJobExecutor.java
+
11
−
10
View file @
0090b189
...
@@ -1484,16 +1484,17 @@ IngestJobProgressSnapshot getIngestJobProgressSnapshot(boolean includeIngestTask
...
@@ -1484,16 +1484,17 @@ IngestJobProgressSnapshot getIngestJobProgressSnapshot(boolean includeIngestTask
boolean
fileIngestRunning
=
false
;
boolean
fileIngestRunning
=
false
;
Date
fileIngestStartTime
=
null
;
Date
fileIngestStartTime
=
null
;
Optional
<
List
<
FileIngestPipeline
>>
fileIngestPipelines
=
getCurrentFileIngestPipelines
();
Optional
<
List
<
FileIngestPipeline
>>
fileIngestPipelines
=
getCurrentFileIngestPipelines
();
if
(
fileIngestPipelines
.
isPresent
())
{
if
(!
fileIngestPipelines
.
isPresent
())
{
for
(
FileIngestPipeline
pipeline
:
fileIngestPipelines
.
get
())
{
// If there are no currently running pipelines, use the original set.
fileIngestPipelines
=
Optional
.
of
(
ingestModuleTiers
.
get
(
0
).
getFileIngestPipelines
());
if
(
pipeline
.
isRunning
())
{
}
fileIngestRunning
=
true
;
for
(
FileIngestPipeline
pipeline
:
fileIngestPipelines
.
get
())
{
}
if
(
pipeline
.
isRunning
())
{
Date
pipelineStartTime
=
pipeline
.
getStartTime
();
fileIngestRunning
=
true
;
if
(
pipelineStartTime
!=
null
&&
(
fileIngestStartTime
==
null
||
pipelineStartTime
.
before
(
fileIngestStartTime
)))
{
}
fileIngestStartTime
=
pipelineStartTime
;
Date
pipelineStartTime
=
pipeline
.
getStartTime
();
}
if
(
pipelineStartTime
!=
null
&&
(
fileIngestStartTime
==
null
||
pipelineStartTime
.
before
(
fileIngestStartTime
)))
{
fileIngestStartTime
=
pipelineStartTime
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment