aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/DataConfig.groovy8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DataConfig.groovy b/src/DataConfig.groovy
index 666360c..37adf88 100644
--- a/src/DataConfig.groovy
+++ b/src/DataConfig.groovy
@@ -14,10 +14,10 @@ class DataConfig implements Serializable {
DataConfig(String direction = "upload") {
this.direction = direction.toLowerCase()
- if (!this.isUpload() && !this.isDownload()) {
- throw new Exception("DataConfig.direction argument must be 'upload'"
- + "or 'download' (got: ${this.direction})")
- }
+ //if (!this.isUpload() && !this.isDownload()) {
+ // throw new Exception("DataConfig.direction argument must be 'upload'"
+ // + "or 'download' (got: ${this.direction})")
+ //}
}
def isUpload() {