Permalink
Browse files

making cloud client only throw repo related GSI errors when the gridf…

…tp module is in place.
  • Loading branch information...
1 parent ef34007 commit 6be03ddb49493eedfbb43be6b2e6a4d819920d3a BuzzTroll committed Jul 12, 2010
Showing with 0 additions and 13 deletions.
  1. +0 −13 service/client/java/source/src/org/globus/workspace/cloud/client/CloudClient.java
@@ -471,8 +471,6 @@ void parameterCheck_initCtx() throws ParameterProblem {
void parameterCheck_list() throws ParameterProblem {
- CloudClientUtil.checkGSICredential("Image listing");
-
this.repoUtil.paramterCheck(this.args, Opts.LIST_OPT_STRING);
}
@@ -570,7 +568,6 @@ void parameterCheck_save() throws ParameterProblem {
}
final String actionString = "Saving";
- CloudClientUtil.checkGSICredential(actionString);
this._translateHandle(actionString);
this._checkSpecificEPR(actionString);
this.repoUtil.paramterCheck(this.args, actionString);
@@ -592,10 +589,6 @@ void parameterCheck_save() throws ParameterProblem {
void parameterCheck_targetPrint() throws ParameterProblem {
- CloudClientUtil.checkGSICredential("Target printing " +
- " (because target path is partially derived " +
- "from your credential).");
-
this.repoUtil.paramterCheck(this.args, Opts.TARGETDIR_OPT_STRING);
final String sourcefile = this.args.getSourcefile();
@@ -610,8 +603,6 @@ void parameterCheck_targetPrint() throws ParameterProblem {
void parameterCheck_transfer() throws ParameterProblem {
- CloudClientUtil.checkGSICredential("Transferring");
-
this.repoUtil.paramterCheck(this.args, Opts.TRANSFER_OPT_STRING);
final String sourcefile = this.args.getSourcefile();
@@ -626,8 +617,6 @@ void parameterCheck_transfer() throws ParameterProblem {
void parameterCheck_delete() throws ParameterProblem {
- CloudClientUtil.checkGSICredential("Deleting");
-
this.repoUtil.paramterCheck(this.args, Opts.DELETE_OPT_STRING);
final String name = this.args.getName();
@@ -640,8 +629,6 @@ void parameterCheck_delete() throws ParameterProblem {
void parameterCheck_download() throws ParameterProblem {
- CloudClientUtil.checkGSICredential("Downloading");
-
this.repoUtil.paramterCheck(this.args, Opts.DOWNLOAD_OPT_STRING);
final String localfile = this.args.getLocalfile();

0 comments on commit 6be03dd

Please sign in to comment.