fix: reconciled status names between server/agent/vscode-codeql
This commit is contained in:
committed by
=Michael Hohn
parent
624e3f86d4
commit
f3a51aefcc
4
agent.go
4
agent.go
@@ -125,7 +125,7 @@ func RunAnalysisJob(
|
|||||||
Spec: job.Spec,
|
Spec: job.Spec,
|
||||||
ResultCount: 0,
|
ResultCount: 0,
|
||||||
ResultLocation: artifactstore.ArtifactLocation{},
|
ResultLocation: artifactstore.ArtifactLocation{},
|
||||||
Status: common.StatusError,
|
Status: common.StatusFailed,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a temporary directory
|
// Create a temporary directory
|
||||||
@@ -190,7 +190,7 @@ func RunAnalysisJob(
|
|||||||
Spec: job.Spec,
|
Spec: job.Spec,
|
||||||
ResultCount: runResult.ResultCount,
|
ResultCount: runResult.ResultCount,
|
||||||
ResultLocation: resultsLocation,
|
ResultLocation: resultsLocation,
|
||||||
Status: common.StatusSuccess,
|
Status: common.StatusSucceeded,
|
||||||
SourceLocationPrefix: runResult.SourceLocationPrefix,
|
SourceLocationPrefix: runResult.SourceLocationPrefix,
|
||||||
DatabaseSHA: runResult.DatabaseSHA,
|
DatabaseSHA: runResult.DatabaseSHA,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user