   [context concept]
   (let [tag-associations (meta-db/get-associations-for-collection context concept :tag-association)
         variable-associations (meta-db/get-associations-for-collection
-                               context concept :variable-association)
+                                context concept :variable-association)
         service-associations (meta-db/get-associations-for-collection
-                              context concept :service-association)
+                               context concept :service-association)
         associations {:tag-associations tag-associations
                       :variable-associations variable-associations
                       :service-associations service-associations}]
     (get-elastic-version-with-associations
-     context concept associations)))
+      context concept associations)))
 
 (defmethod get-elastic-version :variable
   [context concept]

  [concept-type all-revisions-index?]
  (or (not all-revisions-index?)
      (and all-revisions-index? (contains?
                                 #{:collection :tag-association
                                   :variable :variable-association
                                   :service :service-association
                                   :subscription}
                                 concept-type))))

(def REINDEX_BATCH_SIZE 2000)


  [context concept-id revision-id options]
  (when-not (and concept-id revision-id)
    (errors/throw-service-error
      :bad-request
      (format "Concept-id %s and revision-id %s cannot be null" concept-id revision-id)))

  (let [{:keys [all-revisions-index?]} options
        concept-type (cs/concept-id->type concept-id)]
