Comparing version 0.24.0 to 0.25.0
@@ -213,5 +213,7 @@ /** | ||
if ((src.http || src.script) && src.interval) { | ||
if ((src.http || src.script || src.tcp) && src.interval) { | ||
if (src.http) { | ||
dst.HTTP = src.http; | ||
} else if (src.tcp){ | ||
dst.TCP = src.tcp; | ||
} else { | ||
@@ -218,0 +220,0 @@ dst.Script = src.script; |
{ | ||
"name": "consul", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"description": "Consul client", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
@@ -501,2 +501,3 @@ # Consul [![Build Status](https://travis-ci.org/silas/node-consul.png?branch=master)](https://travis-ci.org/silas/node-consul) | ||
* http (String): url to test, 2xx passes, 429 warns, and all others fail | ||
* tcp (String): host:port to test, passes if connection is established, fails otherwise | ||
* script (String): path to check script, requires interval | ||
@@ -503,0 +504,0 @@ * dockercontainerid (String, optional): Docker container ID to run script |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101909
2068
1654