diff --git a/start.py b/start.py index 0a7e745..bf28c3f 100644 --- a/start.py +++ b/start.py @@ -285,8 +285,8 @@ def cm_server_not_dead(primary_node): # The parcel is already present. Hence just distribute and activate it after refresing parcel repos. product = 'STREAMSETS_DATACOLLECTOR' deployment.refresh_parcel_repos() - # Remove RC from version. - version = args.sdc_version.rsplit('-RC')[0] + # Remove -RC, -SNAPSHOT etc. from version. + version = args.sdc_version.rsplit('-')[0] cm_cluster.wait_for_parcel_stage(product=product, version=version, stage='DOWNLOADED') sdc_parcel = cm_cluster.parcel(product=product, version=version, stage='DOWNLOADED') sdc_parcel.distribute().activate()