From 359d617b8fca742d70a405da6fefc84c0abe1f30 Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Tue, 2 Aug 2016 18:26:47 +0100 Subject: [PATCH] Release 0.13.2 --- README.md | 20 ++++++++++---------- plugins/outputs/influxdb/influxdb.go | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3343f0f44..c8bde4c4b 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,12 @@ new plugins. ### Linux deb and rpm Packages: Latest: -* https://dl.influxdata.com/telegraf/releases/telegraf_0.13.1_amd64.deb -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1.x86_64.rpm +* https://dl.influxdata.com/telegraf/releases/telegraf_0.13.2_amd64.deb +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2.x86_64.rpm Latest (arm): -* https://dl.influxdata.com/telegraf/releases/telegraf_0.13.1_armhf.deb -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1.armhf.rpm +* https://dl.influxdata.com/telegraf/releases/telegraf_0.13.2_armhf.deb +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2.armhf.rpm ##### Package Instructions: @@ -46,14 +46,14 @@ to use this repo to install & update telegraf. ### Linux tarballs: Latest: -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1_linux_amd64.tar.gz -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1_linux_i386.tar.gz -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1_linux_armhf.tar.gz +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2_linux_amd64.tar.gz +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2_linux_i386.tar.gz +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2_linux_armhf.tar.gz ### FreeBSD tarball: Latest: -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1_freebsd_amd64.tar.gz +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2_freebsd_amd64.tar.gz ### Ansible Role: @@ -69,8 +69,8 @@ brew install telegraf ### Windows Binaries (EXPERIMENTAL) Latest: -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1_windows_amd64.zip -* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.1_windows_i386.zip +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2_windows_amd64.zip +* https://dl.influxdata.com/telegraf/releases/telegraf-0.13.2_windows_i386.zip ### From Source: diff --git a/plugins/outputs/influxdb/influxdb.go b/plugins/outputs/influxdb/influxdb.go index f359b8fab..c5923e1b4 100644 --- a/plugins/outputs/influxdb/influxdb.go +++ b/plugins/outputs/influxdb/influxdb.go @@ -147,7 +147,7 @@ func (i *InfluxDB) Connect() error { func createDatabase(c client.Client, database string) error { // Create Database if it doesn't exist _, err := c.Query(client.Query{ - Command: fmt.Sprintf("CREATE DATABASE IF NOT EXISTS \"%s\"", database), + Command: fmt.Sprintf("CREATE DATABASE \"%s\"", database), }) return err }