Use gofmt from Go 1.11 (#5259)

This commit is contained in:
Daniel Nelson
2019-01-07 17:14:07 -08:00
committed by GitHub
parent 0f75f3b304
commit 84139cf890
10 changed files with 54 additions and 54 deletions

View File

@@ -776,10 +776,10 @@ func TestGatherHttpCachesMetrics(t *testing.T) {
t,
"nginx_plus_api_http_caches",
map[string]interface{}{
"bypass_bytes": int64(5510647548),
"bypass_bytes_written": int64(44992),
"bypass_responses": int64(200187),
"bypass_responses_written": int64(200173),
"bypass_bytes": int64(5510647548),
"bypass_bytes_written": int64(44992),
"bypass_responses": int64(200187),
"bypass_responses_written": int64(200173),
"cold": false,
"expired_bytes": int64(1656847080),
"expired_bytes_written": int64(1641825173),
@@ -810,10 +810,10 @@ func TestGatherHttpCachesMetrics(t *testing.T) {
t,
"nginx_plus_api_http_caches",
map[string]interface{}{
"bypass_bytes": int64(5510647548),
"bypass_bytes_written": int64(44992),
"bypass_responses": int64(200187),
"bypass_responses_written": int64(200173),
"bypass_bytes": int64(5510647548),
"bypass_bytes_written": int64(44992),
"bypass_responses": int64(200187),
"bypass_responses_written": int64(200173),
"cold": false,
"expired_bytes": int64(1656847080),
"expired_bytes_written": int64(1641825173),