Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from indeedeng/indeed-gh-227
Browse files Browse the repository at this point in the history
expose isCached()
  • Loading branch information
ovesh authored Oct 13, 2021
2 parents 1b0f0ec + af7ec7e commit bf9c635
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ public String getToken() {
return token;
}

public boolean isCached() {
return cached;
}

public static class Builder {
private String datacenter;
private String near;
Expand Down

0 comments on commit bf9c635

Please sign in to comment.