diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2017-03-22 19:14:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-22 19:14:18 +0000 |
commit | 9e7e7ae9e4115b09e35622ed8dbe43c6c2dd3fea (patch) | |
tree | d9368352825be96d1cdbcd22b6ae3ca82a6d412d | |
parent | b899b7bd9a65f1d7c8f402168ba6c83464bfd3d4 (diff) | |
parent | 04b8301a35690951061fdf344d10194c24631b2f (diff) |
Merge "Update to VES API v3 URL"
-rw-r--r-- | 3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py b/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py index a9715ad7..3e300893 100644 --- a/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py +++ b/3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py @@ -277,7 +277,7 @@ class VESPlugin(object): def event_send(self, event): """Send event to VES""" - server_url = "http{}://{}:{}/{}eventListener/v1{}".format( + server_url = "http{}://{}:{}/{}eventListener/v3{}".format( 's' if self.__plugin_config['UseHttps'] else '', self.__plugin_config['Domain'], int(self.__plugin_config['Port']), '{}/'.format( '/{}'.format(self.__plugin_config['Path'])) if (len(self.__plugin_config['Path']) > 0) else '', |