Skip to content

Commit 92122a6

Browse files
committed
format
1 parent e52d135 commit 92122a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

controllers/drupalsite_resources.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ func (r *DrupalSiteReconciler) ensureResources(drp *webservicesv1a1.DrupalSite,
247247
transientErrs = append(transientErrs, transientErr.Wrap("%v: for Nginx SVC"))
248248
}
249249
/* A new drupalsite can be initialized with 3 different ways depending its Spec:
250-
- clone_job if Spec.Configuration.CloneFrom is given
251-
- easystart_taskrun if Spec.Configuration.Easystart equals to enable
252-
- site_install_job if it is a fresh site
253-
Between CloneFrom and Easystart we don't care which case is checked first (undefined).
254-
We use an OPA rule that prohibits both fields from being set at the same time.
250+
- clone_job if Spec.Configuration.CloneFrom is given
251+
- easystart_taskrun if Spec.Configuration.Easystart equals to enable
252+
- site_install_job if it is a fresh site
253+
Between CloneFrom and Easystart we don't care which case is checked first (undefined).
254+
We use an OPA rule that prohibits both fields from being set at the same time.
255255
*/
256256
if r.isDBODProvisioned(ctx, drp) && !(drp.ConditionTrue("Initialized")) {
257257
switch {

0 commit comments

Comments
 (0)