You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2022/05/05 01:08:53 UTC
[airavata-mft] branch master updated: Minor bug fixes
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
The following commit(s) were added to refs/heads/master by this push:
new 4a8e4f7 Minor bug fixes
4a8e4f7 is described below
commit 4a8e4f79ec40a72b91c11d8d11a77fad3885767a
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Wed May 4 21:08:47 2022 -0400
Minor bug fixes
---
.../apache/airavata/mft/command/line/sub/swift/SwiftAddSubCommand.java | 2 +-
.../mft/resource/server/handler/GenericResourceServiceHandler.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/command-line/src/main/java/org/apache/airavata/mft/command/line/sub/swift/SwiftAddSubCommand.java b/command-line/src/main/java/org/apache/airavata/mft/command/line/sub/swift/SwiftAddSubCommand.java
index ab81ecd..689ab6a 100644
--- a/command-line/src/main/java/org/apache/airavata/mft/command/line/sub/swift/SwiftAddSubCommand.java
+++ b/command-line/src/main/java/org/apache/airavata/mft/command/line/sub/swift/SwiftAddSubCommand.java
@@ -38,7 +38,7 @@ public class SwiftAddSubCommand implements Callable<Integer> {
@CommandLine.Option(names = {"-p", "--password"}, description = "Password (Password Credentials")
private String password;
- @CommandLine.Option(names = {"-p", "--projectId"}, description = "Project Id (Password Credentials")
+ @CommandLine.Option(names = {"-pid", "--projectId"}, description = "Project Id (Password Credentials")
private String projectId;
@CommandLine.Option(names = {"-d", "--domainId"}, description = "Domain Id (Password Credentials")
diff --git a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java
index e8906cf..518d899 100644
--- a/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java
+++ b/services/resource-service/server/src/main/java/org/apache/airavata/mft/resource/server/handler/GenericResourceServiceHandler.java
@@ -26,7 +26,7 @@ public class GenericResourceServiceHandler extends GenericResourceServiceGrpc.Ge
responseObserver.onCompleted();
}, () -> {
responseObserver.onError(Status.INTERNAL
- .withDescription("No GCS Resource with id " + request.getResourceId())
+ .withDescription("No Resource with id " + request.getResourceId())
.asRuntimeException());
});
} catch (Exception e) {