Files
kubernetes/test/utils/ktesting
Patrick Ohly 900457c09b ktesting: improve per-test log output
format.Object adds some white space in front of the value and a type identifier
in angle brackets. Both is distracting when printing simple values and can be
avoided by picking fmt.Sprintf for those types, plus trimming the result of
format.Object.

Before:

    allocator.go:483: I0625 15:35:31.946980] Allocating one device currentClaim=    <int>: 0 totalClaims=    <int>: 1 currentRequest=    <int>: 0 totalRequestsPerClaim=    <int>: 1 currentDevice=    <int>: 0 devicesPerRequest=    <int>: 1 allDevices=    <bool>: false adminAccess=    <bool>: false

After:

    allocator.go:483: I0625 15:35:04.371441] Allocating one device currentClaim=0 totalClaims=1 currentRequest=0 totalRequestsPerClaim=1 currentDevice=0 devicesPerRequest=1 allDevices=false adminAccess=false
2024-06-25 16:00:38 +02:00
..
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-25 18:13:58 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00
2024-02-11 10:51:38 +01:00