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.
// requeue (we'll need to wait for a new notification), and we can get them
189
189
// on deleted requests.
190
190
log.V(7).Info("Unable to fetch ScanType")
191
+
192
+
scan.Status.State="Errored"
193
+
scan.Status.ErrorDescription=fmt.Sprintf("Configured ScanType '%s' not found in Scans Namespace. You'll likely need to deploy the ScanType.", scan.Spec.ScanType)
194
+
iferr:=r.Status().Update(ctx, scan); err!=nil {
195
+
r.Log.Error(err, "unable to update Scan status")
196
+
returnerr
197
+
}
198
+
191
199
returnfmt.Errorf("No ScanType of type '%s' found", scan.Spec.ScanType)
0 commit comments