Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Relax check on call of tomcat/server as crate function

The check was triggered by calling server with no direct options
  • Loading branch information...
commit 3a08a379459c835c74b03bd785d2fd785dab684a 1 parent 3410846
@hugoduncan hugoduncan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tomcat/src/pallet/crate/tomcat.clj
View
3  tomcat/src/pallet/crate/tomcat.clj
@@ -807,7 +807,8 @@
(connector :port \"8080\" :protocol \"HTTP/1.1\"
:connectionTimeout \"20000\" :redirectPort \"8443\")))"
[& options]
- {:pre [(not (map? (first options)))]} ; check not called as a crate function
+ {:pre [(not (and (map? (first options))
+ (:server (first options))))]} ; check not called as crate fn
(pallet-type
::server
:members [::global-resources]
Please sign in to comment.
Something went wrong with that request. Please try again.