You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
scan.Status.ErrorDescription=fmt.Sprintf("Configured ScanType '%s' not found in Scans Namespace. You'll likely need to deploy the ScanType.", scan.Spec.ScanType)
262
-
iferr:=r.Status().Update(ctx, scan); err!=nil {
263
-
r.Log.Error(err, "unable to update Scan status")
264
-
returnerr
265
-
}
266
-
267
-
returnfmt.Errorf("No ScanType of type '%s' found", scan.Spec.ScanType)
"Lurcher is used to extract results from secureCodeBox Scans. It needs rights to get and watch the status of pods to see when the scans have finished.",
282
-
rules,
283
-
)
284
-
285
-
job, err:=r.constructJobForScan(scan, &scanType)
286
-
iferr!=nil {
287
-
log.Error(err, "unable to create job object ScanType")
scan.Status.ErrorDescription=fmt.Sprintf("Configured ScanType '%s' not found in Scans Namespace. You'll likely need to deploy the ScanType.", scan.Spec.ScanType)
44
+
iferr:=r.Status().Update(ctx, scan); err!=nil {
45
+
r.Log.Error(err, "unable to update Scan status")
46
+
returnerr
47
+
}
48
+
49
+
returnfmt.Errorf("No ScanType of type '%s' found", scan.Spec.ScanType)
"Lurcher is used to extract results from secureCodeBox Scans. It needs rights to get and watch the status of pods to see when the scans have finished.",
64
+
rules,
65
+
)
66
+
67
+
job, err:=r.constructJobForScan(scan, &scanType)
68
+
iferr!=nil {
69
+
log.Error(err, "unable to create job object ScanType")
0 commit comments