This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/staging by this push:
new dfb1612 Checking if the warning are valid for container creation
dfb1612 is described below
commit dfb16125a4af1dcd2d1f616f48975632cc7b3654
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Wed Jul 24 14:26:30 2019 -0400
Checking if the warning are valid for container creation
---
.../org/apache/airavata/helix/impl/task/parsing/DataParsingTask.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/parsing/DataParsingTask.java
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/parsing/DataParsingTask.java
index 07c959f..b290f16 100644
---
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/parsing/DataParsingTask.java
+++
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/parsing/DataParsingTask.java
@@ -257,7 +257,7 @@ public class DataParsingTask extends AbstractTask {
final StringBuilder dockerLogs = new StringBuilder();
- if (containerResponse.getWarnings() != null) {
+ if (containerResponse.getWarnings() != null &&
containerResponse.getWarnings().length > 0) {
StringBuilder warningStr = new StringBuilder();
for (String w : containerResponse.getWarnings()) {
warningStr.append(w).append(",");