We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b48e1b commit 0d7ff3bCopy full SHA for 0d7ff3b
internal/datasource/host/info_test.go
@@ -433,19 +433,18 @@ func TestInfo_ContainerInfo(t *testing.T) {
433
require.NoError(t, err)
434
435
releaseInfo := &v1.ReleaseInfo{
436
- Codename: "focal",
+ Codename: "jammy",
437
Id: "ubuntu",
438
Name: "Ubuntu",
439
- VersionId: "20.04",
440
- Version: "20.04.5 LTS (Focal Fossa)",
+ VersionId: "22.04",
+ Version: "22.04.5 LTS (Jammy Jellyfish)",
441
}
442
443
tests := []struct {
444
- name string
445
- mountInfo string
446
- expectContainerID string
447
- expectHostname string
448
- expectedOSReleaseInfo string
+ name string
+ mountInfo string
+ expectContainerID string
+ expectHostname string
449
}{
450
{
451
name: "unknown cgroups format",
0 commit comments