Skip to content

Commit

Permalink
Merge branch 'bypass-diag-version-check'
Browse files Browse the repository at this point in the history
  • Loading branch information
nemonster committed Aug 1, 2018
2 parents 55427b7 + 10ca65b commit 270428f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ It will execute a series of REST API calls to the running cluster, run a number
As a first step the diagnostic will check the Github repo for the current released version, and if not the same as the one running will:
* Provide the URL for the current release.
* Ask the user whether they wish to continue.
* For air gapped environments this can be bypassed by adding --bypassDiagVerify to the command line.

## Usage - Simplest Case
* Run the application via the diagnostics.sh or diagnostics.bat script. The host name or IP address used by the HTTP connector of the node is required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ public boolean isNoSystemCalls() {
return noSystemCalls;
}

public void setNoSystemCalls(boolean noSystemCalls) {
this.noSystemCalls = noSystemCalls;
}

public boolean isBypassDiagVerify() {
return bypassDiagVerify;
}
Expand All @@ -245,10 +249,6 @@ public void setBypassDiagVerify(boolean bypassDiagVerify) {
this.bypassDiagVerify = bypassDiagVerify;
}

public void setNoSystemCalls(boolean noSystemCalls) {
this.noSystemCalls = noSystemCalls;
}

public String getUrl() {
return getProtocol() + "://" + getHost() + ":" + getPort();
}
Expand Down

0 comments on commit 270428f

Please sign in to comment.