From: peusterm Date: Mon, 26 Jun 2017 11:46:39 +0000 (+0200) Subject: cleanup X-Git-Tag: v3.1~17^2~6^2~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ce3d3581b025042ccdd738db440c8a0f96328791;p=osm%2Fvim-emu.git cleanup --- diff --git a/src/emuvim/api/openstack/compute.py b/src/emuvim/api/openstack/compute.py index ddb3c93..59d63bb 100755 --- a/src/emuvim/api/openstack/compute.py +++ b/src/emuvim/api/openstack/compute.py @@ -522,7 +522,6 @@ class OpenstackCompute(object): LOG.debug("Long server name: {}".format(name)) if len(name) > char_limit: # construct a short name - parts = name.split("_") name = name.replace("_vnf", "") name = name[-char_limit:].strip("-_ .") LOG.debug("Short server name: {}".format(name))