There was an error while loading. Please reload this page.
1 parent 766188a commit d50e8e5Copy full SHA for d50e8e5
1 file changed
bootstrap-app/src/cmr/bootstrap/api/bulk_index.clj
@@ -2,7 +2,6 @@
2
"Defines the bulk index functions for the bootstrap API."
3
(:require
4
[clj-time.core :as time]
5
- [clojure.string :as string]
6
[cmr.bootstrap.config :as bootstrap-config]
7
[cmr.bootstrap.api.messages :as msg]
8
[cmr.bootstrap.api.util :as api-util]
@@ -83,9 +82,8 @@
83
82
84
(defn- ignore-after-date-time-limit?
85
[headers]
86
- (= "true"
87
- (some-> (get headers ignore-after-date-time-limit-header)
88
- string/lower-case)))
+ (Boolean/parseBoolean
+ (get headers ignore-after-date-time-limit-header)))
89
90
(defn index-provider
91
"Index all the collections and granules for a given provider."
0 commit comments