From d58923c98cf9bb57936f5c40238cfce26bee39c3 Mon Sep 17 00:00:00 2001 From: SowmyaDixit Date: Fri, 27 Sep 2019 14:20:25 +0530 Subject: [PATCH] Issue #0000 fix: Upload directory return type --- .../scala/org/sunbird/cloud/storage/BaseStorageService.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/org/sunbird/cloud/storage/BaseStorageService.scala b/src/main/scala/org/sunbird/cloud/storage/BaseStorageService.scala index d949515..383b8b3 100644 --- a/src/main/scala/org/sunbird/cloud/storage/BaseStorageService.scala +++ b/src/main/scala/org/sunbird/cloud/storage/BaseStorageService.scala @@ -60,7 +60,7 @@ trait BaseStorageService extends IStorageService { val key = objectKey + f.getAbsolutePath.split(d.getAbsolutePath + File.separator).last upload(container, f.getAbsolutePath, key, Option(false), attempt, retryCount, ttl) } - list.toString() + list.mkString(",") } else { if (attempt.getOrElse(1) >= retryCount.getOrElse(maxRetries)) {