diff --git a/build.gradle b/build.gradle index 0507c0d9..4e8a6bd8 100644 --- a/build.gradle +++ b/build.gradle @@ -61,7 +61,7 @@ artifacts { group = "com.indeed" archivesBaseName = "consul-api" -version = "1.4.7" +version = "1.4.8" def doUploadArchives = project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword') if (doUploadArchives) { diff --git a/src/main/java/com/ecwid/consul/v1/health/HealthServicesRequest.java b/src/main/java/com/ecwid/consul/v1/health/HealthServicesRequest.java index b477ef3f..8f6d13a8 100644 --- a/src/main/java/com/ecwid/consul/v1/health/HealthServicesRequest.java +++ b/src/main/java/com/ecwid/consul/v1/health/HealthServicesRequest.java @@ -116,6 +116,10 @@ public String getToken() { return token; } + public boolean isCached() { + return cached; + } + public static class Builder { private String datacenter; private String near;