Kinesis output shouldn't return an error for no reason
This commit is contained in:
parent
5349a3b6d1
commit
3da390682d
|
@ -1,7 +1,6 @@
|
||||||
package kinesis
|
package kinesis
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
@ -101,7 +100,7 @@ func (k *KinesisOutput) Connect() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (k *KinesisOutput) Close() error {
|
func (k *KinesisOutput) Close() error {
|
||||||
return errors.New("Error")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func FormatMetric(k *KinesisOutput, point *client.Point) (string, error) {
|
func FormatMetric(k *KinesisOutput, point *client.Point) (string, error) {
|
||||||
|
|
Loading…
Reference in New Issue