Merge "Removed condition for short path in order to allow re-run the pipeline"
diff --git a/ceph-remove-osd.groovy b/ceph-remove-osd.groovy
index 015dcd2..680cd42 100644
--- a/ceph-remove-osd.groovy
+++ b/ceph-remove-osd.groovy
@@ -66,15 +66,11 @@
                 }
             }
 
-            if ( osd_ids == [] )
-            {
-              currentBuild.result = 'SUCCESS'
-              return
-            }
-
             // `ceph osd out <id> <id>`
             stage('Set OSDs out') {
-                salt.cmdRun(pepperEnv, ADMIN_HOST, 'ceph osd out ' + osd_ids.join(' '))
+                if ( !osd_ids.isEmpty() ) {
+                    salt.cmdRun(pepperEnv, ADMIN_HOST, 'ceph osd out ' + osd_ids.join(' '))
+                }
             }
 
             // wait for healthy cluster