瀏覽代碼

tech(): go fmt code

bergquist 9 年之前
父節點
當前提交
ecf44d4d9c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pkg/login/ldap_test.go
  2. 1 1
      pkg/metrics/metrics.go

+ 1 - 1
pkg/login/ldap_test.go

@@ -290,7 +290,7 @@ func (c *mockLdapConn) Search(*ldap.SearchRequest) (*ldap.SearchResult, error) {
 }
 
 func (c *mockLdapConn) StartTLS(*tls.Config) error {
-    return nil
+	return nil
 }
 
 func ldapAutherScenario(desc string, fn scenarioFunc) {

+ 1 - 1
pkg/metrics/metrics.go

@@ -52,7 +52,7 @@ var (
 
 	// Timers
 	M_DataSource_ProxyReq_Timer Timer
-	M_Alerting_Execution_Time Timer
+	M_Alerting_Execution_Time   Timer
 
 	// StatTotals
 	M_Alerting_Active_Alerts Gauge