From 6813897b332f3ac4dabe1b3b2d76b2fa1fc011e3 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 18 Sep 2023 12:19:12 +0200 Subject: [PATCH] Fix indentation Signed-off-by: Ben --- pkg/system/system.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/system/system.go b/pkg/system/system.go index 27f2f18e68..22f08bdd69 100644 --- a/pkg/system/system.go +++ b/pkg/system/system.go @@ -160,10 +160,10 @@ func LoadSystemDefaults() *nbv1.NooBaa { if options.PrometheusNamespace != "" { sys.Spec.Autoscaler.PrometheusNamespace = options.PrometheusNamespace } -if options.NooBaaImage != "" { - image := options.NooBaaImage - sys.Spec.Image = &image -} + if options.NooBaaImage != "" { + image := options.NooBaaImage + sys.Spec.Image = &image + } if options.ImagePullSecret != "" { sys.Spec.ImagePullSecret = &corev1.LocalObjectReference{Name: options.ImagePullSecret} }