Skip to content
Permalink
Browse files

Use version filter instead of version_compare

version_compare is deperecated

Change-Id: I19e96f37e9ab0e489ab8e855e3fae7e25e4f837b
  • Loading branch information...
smalleni committed Nov 15, 2019
1 parent ac14015 commit 445e67939c8a4868f90ec35ba2caccc6addccd90
@@ -473,7 +473,7 @@ PreCacheChain "PreCache"

# Tail httpd request time
{%if apache_controller_collectd_request_time %}
{% if osp_version | version_compare('12.0.0', '>=') and osp_version | version_compare('14.0.0', '<') %}
{% if osp_version is version ('12.0.0', '>=') and osp_version is version ('14.0.0', '<') %}
<File "/var/log/containers/httpd/gnocchi-api/gnocchi_wsgi_access.log">
{% else %}
<File "/var/log/httpd/gnocchi_wsgi_access.log">

0 comments on commit 445e679

Please sign in to comment.
You can’t perform that action at this time.