Fix indentation

This commit is contained in:
martinrusev 2015-11-06 12:06:17 +02:00
parent d3ae5adcf0
commit 1c92cfb3b6
1 changed files with 3 additions and 4 deletions

View File

@ -43,7 +43,6 @@ type Metric struct {
type Point [2]float64
func (a *Amon) Connect() error {
if a.ServerKey == "" || a.AmonInstance == "" {
return fmt.Errorf("serverkey and amoninstance are required fields for amon output")