     :db/cardinality :db.cardinality/one
     :db.install/_attribute :db.part/db}
    ;; Environment Variable attributes
-    {:db/id (d/tempid :db.part/db)
-     :db/ident :environment/name
-     :db/valueType :db.type/string
-     :db/cardinality :db.cardinality/one
-     :db.install/_attribute :db.part/db}
-    {:db/id (d/tempid :db.part/db)
-     :db/ident :environment/value
-     :db/valueType :db.type/string
-     :db/cardinality :db.cardinality/one
-     :db.install/_attribute :db.part/db}
+   {:db/id (d/tempid :db.part/db)
+    :db/ident :environment/name
+    :db/valueType :db.type/string
+    :db/cardinality :db.cardinality/one
+    :db.install/_attribute :db.part/db}
+   {:db/id (d/tempid :db.part/db)
+    :db/ident :environment/value
+    :db/valueType :db.type/string
+    :db/cardinality :db.cardinality/one
+    :db.install/_attribute :db.part/db}
    ;; Label attributes
    {:db/id (d/tempid :db.part/db)
     :db/ident :label/key


(def reason-entities
  [{:db/id (d/tempid :db.part/user)
     :reason/code 1002
     :reason/string "Preempted by rebalancer"
     :reason/mea-culpa? true
     :reason/name :preempted-by-rebalancer}
   {:db/id (d/tempid :db.part/user)
    :reason/code 1003
    :reason/string "Container preempted by Mesos"

                         mea-culpa-limit (or (when (:job/disable-mea-culpa-retries job-ent)
                                               0)
                                             (:scheduler.config/mea-culpa-failure-limit
                                               (d/entity db :scheduler/config))
                                             5)]
                     (->> job-ent
                          :job/instance
