From 68d0c2fc818b0f369d9084e9d9c3fcf52cb2922c Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Wed, 6 Jun 2018 23:35:59 +0200 Subject: [PATCH] Cleaned up --- src/appium.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/appium.sh b/src/appium.sh index 974a608..eae40ad 100644 --- a/src/appium.sh +++ b/src/appium.sh @@ -20,14 +20,8 @@ function prepare_geny_cloud() { template=$(get_value '.template') device=$(get_value '.device') - - if [[ $template ]] && [[ $template != null ]]; then - echo "Starting \"$device\" with template name \"$template\"..." - gmtool --cloud admin startdisposable "${template}" "${device}" - else - echo "Starting \"$device\"..." - gmtool --cloud admin start "${device}" - fi + echo "Starting \"$device\" with template name \"$template\"..." + gmtool --cloud admin startdisposable "${template}" "${device}" done }