Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 356374Z (0.08 sec)

  1. cni/pkg/log/uds_test.go

    }
    
    func TestParseCniLog(t *testing.T) {
    	wantT := &time.Time{}
    	assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z")))
    	cases := []struct {
    		name string
    		in   string
    		out  cniLog
    	}{
    		{
    			"without keys",
    			`{"level":"info","time":"2020-01-01T00:00:00.356374Z","msg":"my message"}`,
    			cniLog{
    				Level:     "info",
    				Time:      *wantT,
    				Msg:       "my message",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top