Avoid hardcoding version numbers in the settings
The version number can be extracted from the package's filename. Change-Id: I0fd3cf86a3a299898027b5e6be07c6ec47e0271c
This commit is contained in:
@@ -12,11 +12,12 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from stacklight_tests.helpers import helpers
|
||||
from stacklight_tests import settings
|
||||
|
||||
|
||||
name = 'elasticsearch_kibana'
|
||||
version = '0.9.0'
|
||||
role_name = ['elasticsearch_kibana']
|
||||
vip_name = 'es_vip_mgmt'
|
||||
plugin_path = settings.ELASTICSEARCH_KIBANA_PLUGIN_PATH
|
||||
version = helpers.get_plugin_version(plugin_path)
|
||||
|
||||
Reference in New Issue
Block a user