summaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt b/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt
index 7a2954a..10f8421 100644
--- a/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt
+++ b/src/main/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSender.kt
@@ -50,9 +50,9 @@ class RestMtbFileSender(private val restTargetProperties: RestTargetProperties)
}
logger.debug("Sent file via RestMtbFileSender")
return if (response.body?.contains("warning") == true) {
- return MtbFileSender.Response(MtbFileSender.ResponseStatus.WARNING, "${response.body}")
+ MtbFileSender.Response(MtbFileSender.ResponseStatus.WARNING, "${response.body}")
} else {
- return MtbFileSender.Response(MtbFileSender.ResponseStatus.SUCCESS)
+ MtbFileSender.Response(MtbFileSender.ResponseStatus.SUCCESS)
}
} catch (e: IllegalArgumentException) {
logger.error("Not a valid URI to export to: '{}'", restTargetProperties.uri!!)