Skip to content

Commit a841900

Browse files
committed
Rename var to comply with standard
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
1 parent 7fc063d commit a841900

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎operator/controllers/execution/scans/scan_reconciler.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ func (r *ScanReconciler) constructJobForScan(scan *executionv1.Scan, scanType *e
276276
},
277277
}
278278

279-
lurcherCustomCaCertificate := os.Getenv("LURCHER_CUSTOM_CA_CERTIFICATE_EXISTING_CERTIFICATE")
280-
if lurcherCustomCaCertificate != "" {
279+
lurcherCustomCACertificate := os.Getenv("LURCHER_CUSTOM_CA_CERTIFICATE_EXISTING_CERTIFICATE")
280+
if lurcherCustomCACertificate != "" {
281281
fmt.Println("Reach the Volume creation")
282282
job.Spec.Template.Spec.Volumes = append(job.Spec.Template.Spec.Volumes, corev1.Volume{
283283
Name: "ca-certificate",
284284
VolumeSource: corev1.VolumeSource{
285285
ConfigMap: &corev1.ConfigMapVolumeSource{
286286
LocalObjectReference: corev1.LocalObjectReference{
287-
Name: lurcherCustomCaCertificate,
287+
Name: lurcherCustomCACertificate,
288288
},
289289
},
290290
},

0 commit comments

Comments
 (0)