Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
making cloud client only throw repo related GSI errors when the gridf…
Browse files Browse the repository at this point in the history
…tp module is in place.
  • Loading branch information
BuzzTroll committed Jul 12, 2010
1 parent ef34007 commit 6be03dd
Showing 1 changed file with 0 additions and 13 deletions.
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
Expand All @@ -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();
Expand All @@ -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();
Expand All @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit 6be03dd

Please sign in to comment.