Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyContainerName (0.13 sec)

  1. pkg/util/procfs/procfs_linux_test.go

    )
    
    func verifyContainerName(procCgroupText, expectedName string, expectedErr bool, t *testing.T) {
    	name, err := containerNameFromProcCgroup(procCgroupText)
    	if expectedErr && err == nil {
    		t.Errorf("Expected error but did not get error in verifyContainerName")
    		return
    	} else if !expectedErr && err != nil {
    		t.Errorf("Expected no error, but got error %+v in verifyContainerName", err)
    		return
    	} else if expectedErr {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top