Applied autoformatter
This commit is contained in:
parent
71af11f503
commit
28b0183339
2 changed files with 46 additions and 45 deletions
|
|
@ -6,6 +6,8 @@
|
||||||
(:import
|
(:import
|
||||||
(java.nio.file
|
(java.nio.file
|
||||||
Paths)
|
Paths)
|
||||||
|
(java.time
|
||||||
|
Duration)
|
||||||
(org.testcontainers.containers
|
(org.testcontainers.containers
|
||||||
BindMode
|
BindMode
|
||||||
GenericContainer
|
GenericContainer
|
||||||
|
|
@ -18,8 +20,7 @@
|
||||||
ImageFromDockerfile)
|
ImageFromDockerfile)
|
||||||
(org.testcontainers.utility
|
(org.testcontainers.utility
|
||||||
MountableFile
|
MountableFile
|
||||||
ResourceReaper)
|
ResourceReaper)))
|
||||||
(java.time Duration)))
|
|
||||||
|
|
||||||
(defn- resolve-bind-mode
|
(defn- resolve-bind-mode
|
||||||
(^BindMode [bind-mode]
|
(^BindMode [bind-mode]
|
||||||
|
|
@ -292,9 +293,9 @@
|
||||||
(-> (.toUtf8String to-string-consumer)
|
(-> (.toUtf8String to-string-consumer)
|
||||||
(clojure.string/replace #"\n+" "\n")))}))
|
(clojure.string/replace #"\n+" "\n")))}))
|
||||||
|
|
||||||
(defmethod log :slf4j [_ _] nil) ;; Not yet implemented
|
(defmethod log :slf4j [_ _] nil) ; Not yet implemented
|
||||||
|
|
||||||
(defmethod log :default [_ _] nil) ;; Not yet implemented
|
(defmethod log :default [_ _] nil) ; Not yet implemented
|
||||||
|
|
||||||
(defn dump-logs
|
(defn dump-logs
|
||||||
"Dumps the logs found by invoking the function on the :string-log key"
|
"Dumps the logs found by invoking the function on the :string-log key"
|
||||||
|
|
@ -365,7 +366,7 @@
|
||||||
(.performCleanup ^ResourceReaper (reaper-instance)))
|
(.performCleanup ^ResourceReaper (reaper-instance)))
|
||||||
|
|
||||||
|
|
||||||
;;; REPL Helpers
|
;; REPL Helpers
|
||||||
(comment
|
(comment
|
||||||
(start! (create {:image-name "postgres:12.1"}))
|
(start! (create {:image-name "postgres:12.1"}))
|
||||||
(perform-cleanup!))
|
(perform-cleanup!))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue