Fixed type-o: guage -> gauge

This commit is contained in:
Xavi 2018-10-05 15:31:48 -07:00 committed by GitHub
parent dbc3002d02
commit c4712bd220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -577,7 +577,7 @@ func TestExtractKVMeta(t *testing.T) {
RuleName: "last-call", RuleName: "last-call",
Series: "doing-it-til-we-fall", Series: "doing-it-til-we-fall",
Dimensions: []string{"who", "where"}, Dimensions: []string{"who", "where"},
StatType: "guage", StatType: "gauge",
ValueField: "status", ValueField: "status",
}, },
{ {
@ -600,7 +600,7 @@ func TestExtractKVMeta(t *testing.T) {
"rule": "last-call", "rule": "last-call",
"series": "doing-it-til-we-fall", "series": "doing-it-til-we-fall",
"dimensions": []interface{}{"who", "where"}, "dimensions": []interface{}{"who", "where"},
"stat_type": "guage", "stat_type": "gauge",
"value_field": "status", "value_field": "status",
}, },
map[string]interface{}{ map[string]interface{}{
@ -649,7 +649,7 @@ func TestExtractKVMeta(t *testing.T) {
RuleName: "last-call", RuleName: "last-call",
Series: "doing-it-til-we-fall", Series: "doing-it-til-we-fall",
Dimensions: []string{"who", "where"}, Dimensions: []string{"who", "where"},
StatType: "guage", StatType: "gauge",
ValueField: "status", ValueField: "status",
}, },
}, },
@ -682,7 +682,7 @@ func TestExtractKVMeta(t *testing.T) {
"rule": "last-call", "rule": "last-call",
"series": "doing-it-til-we-fall", "series": "doing-it-til-we-fall",
"dimensions": []interface{}{"who", "where"}, "dimensions": []interface{}{"who", "where"},
"stat_type": "guage", "stat_type": "gauge",
"value_field": "status", "value_field": "status",
}, },
}, },