This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 13184ded20 Updated minor typo in error statement (#7731)
13184ded20 is described below
commit 13184ded20372ed77d7593126361aca9fc518356
Author: Rima Shah <[email protected]>
AuthorDate: Thu Aug 17 12:36:04 2023 -0600
Updated minor typo in error statement (#7731)
Updated cache test
---
traffic_monitor/cache/cache_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/traffic_monitor/cache/cache_test.go
b/traffic_monitor/cache/cache_test.go
index bf4b29b0ca..43b2ad6393 100644
--- a/traffic_monitor/cache/cache_test.go
+++ b/traffic_monitor/cache/cache_test.go
@@ -139,7 +139,7 @@ func TestParseAndDecode(t *testing.T) {
if val, ok := miscStats["plugin.system_stats.timestamp_ms_float64"]; ok
{
valType := reflect.TypeOf(val)
if valType.Kind() != reflect.Float64 {
- t.Errorf("type mismatch, expected: string, got:%s",
valType)
+ t.Errorf("type mismatch, expected: float64, got:%s",
valType)
}
val1, _ := parseNumericStat(val)
if val1 != uint64(1684784877939) {