Skip to content

Commit

Permalink
check interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kshvakov committed Mar 16, 2018
1 parent d0dcf8e commit 572b647
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/inputs/clickhouse/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (ch *ClickHouse) Start(telegraf.Accumulator) (err error) {
}

// Stop ClickHouse input service
func (ch *ClickHouse) Stop(ClickHouse) {
func (ch *ClickHouse) Stop() {
if ch.connect != nil {
ch.connect.Close()
}
Expand Down Expand Up @@ -149,3 +149,5 @@ var measurementMap = map[string]string{
"metrics": systemMetricsSQL,
"asynchronous_metrics": systemAsyncMetricsSQL,
}

var _ telegraf.ServiceInput = &ClickHouse{}

0 comments on commit 572b647

Please sign in to comment.