Skip to content

Commit bbb17ef

Browse files
Merge pull request #1952 from JoeWrightss/patch-4
Fix .Fatalf() error message
2 parents f5b9991 + 0855bce commit bbb17ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcontainer/container_linux_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,15 @@ func TestGetContainerStats(t *testing.T) {
167167
t.Fatal("intel rdt stats are nil")
168168
}
169169
if stats.IntelRdtStats.L3CacheSchema != "L3:0=f;1=f0" {
170-
t.Fatalf("expected L3CacheSchema L3:0=f;1=f0 but recevied %s", stats.IntelRdtStats.L3CacheSchema)
170+
t.Fatalf("expected L3CacheSchema L3:0=f;1=f0 but received %s", stats.IntelRdtStats.L3CacheSchema)
171171
}
172172
}
173173
if intelrdt.IsMbaEnabled() {
174174
if stats.IntelRdtStats == nil {
175175
t.Fatal("intel rdt stats are nil")
176176
}
177177
if stats.IntelRdtStats.MemBwSchema != "MB:0=20;1=70" {
178-
t.Fatalf("expected MemBwSchema MB:0=20;1=70 but recevied %s", stats.IntelRdtStats.MemBwSchema)
178+
t.Fatalf("expected MemBwSchema MB:0=20;1=70 but received %s", stats.IntelRdtStats.MemBwSchema)
179179
}
180180
}
181181
}

0 commit comments

Comments
 (0)