Browse Source

fix go fmt

bugficks 7 years ago
parent
commit
f31fe495e9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pkg/tsdb/mysql/mysql.go

+ 3 - 3
pkg/tsdb/mysql/mysql.go

@@ -2,14 +2,14 @@ package mysql
 
 import (
 	"database/sql"
+	"errors"
 	"fmt"
 	"reflect"
 	"strconv"
 	"strings"
-	"errors"
 
-	"crypto/x509"
 	"crypto/tls"
+	"crypto/x509"
 
 	"github.com/go-sql-driver/mysql"
 	"github.com/go-xorm/core"
@@ -47,7 +47,7 @@ func newMysqlQueryEndpoint(datasource *models.DataSource) (tsdb.TsdbQueryEndpoin
 	if tlsAuth || tlsAuthWithCACert {
 
 		secureJsonData := datasource.SecureJsonData.Decrypt()
-		tlsConfig := tls.Config {
+		tlsConfig := tls.Config{
 			InsecureSkipVerify: tlsSkipVerify,
 		}