Remove pre-1.0 audit and protected request scaffolding
This commit is contained in:
@@ -515,9 +515,9 @@ func claimAndCompleteLifecycleJobForServer(t *testing.T, svc *CoreService, sessi
|
||||
if state == domain.JobStateSucceeded {
|
||||
switch capability {
|
||||
case domain.LifecycleCapabilityStart, domain.LifecycleCapabilityStatus:
|
||||
executionResult = domain.JobExecutionResult{Kind: "process", ProcessState: "running", AuditSummary: "bounded process state"}
|
||||
executionResult = domain.JobExecutionResult{Kind: "process", ProcessState: "running", Summary: "bounded process state"}
|
||||
case domain.LifecycleCapabilityStop:
|
||||
executionResult = domain.JobExecutionResult{Kind: "process", ProcessState: "stopped", ExitClassification: "requested-stop", AuditSummary: "bounded process state"}
|
||||
executionResult = domain.JobExecutionResult{Kind: "process", ProcessState: "stopped", ExitClassification: "requested-stop", Summary: "bounded process state"}
|
||||
}
|
||||
}
|
||||
if _, err := svc.CompleteRunJob(domain.RunJobResult{
|
||||
|
||||
Reference in New Issue
Block a user