Răsfoiți Sursa

Update pkg/kubecost/asset_test.go

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: Sean Holcomb <sean@kubecost.com>
Sean Holcomb 3 ani în urmă
părinte
comite
62387b7625
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      pkg/kubecost/asset_test.go

+ 1 - 1
pkg/kubecost/asset_test.go

@@ -1681,7 +1681,7 @@ func TestAssetSetRange_AccumulateBy_Month(t *testing.T) {
 
 	for _, as := range asr.Assets {
 		if as.Window.Duration() < time.Hour*24 || as.Window.Duration() > time.Hour*24*31 {
-			t.Fatalf("expected window duration to be between 1 and 7 days, got:%s", as.Window.Duration().String())
+			t.Fatalf("expected window duration to be between 1 and 31 days, got:%s", as.Window.Duration().String())
 		}
 	}
 }