Skip to content

Instantly share code, notes, and snippets.

@ahpook
Last active July 16, 2019 18:33
Show Gist options
  • Save ahpook/9e20ea7395e099e4d21547024bfd40b7 to your computer and use it in GitHub Desktop.
Save ahpook/9e20ea7395e099e4d21547024bfd40b7 to your computer and use it in GitHub Desktop.
&{0xc000010010 0 5 3 [32 32 32 32 32 32 32 32] 16 [] 0 {0 0 false} 0 [[]] []}
&{
{TaskRunList tekton.dev/v1alpha1}
{/apis/tekton.dev/v1alpha1/namespaces/default/taskruns 19052850 }
[{{TaskRun tekton.dev/v1alpha1}
{echo-hello-world-task-run
default
/apis/tekton.dev/v1alpha1/namespaces/default/taskruns/echo-hello-world-task-run
6c8b4d24-9865-11e9-b2a7-fa163e77a488
16591574
1
2019-06-26 15:54:59 -0700 PDT
<nil>
<nil>
map[]
map[kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"tekton.dev/v1alpha1","kind":"TaskRun","metadata":
{"annotations":{},"name":"echo-hello-world-task-run","namespace":"default"},
"spec":{"taskRef":{"name":"echo-hello-world"}}}
]
[] nil []
}
{{[] []} {[] []} <nil> 0xc00050f650 <nil> nil map[] [] nil} {{0 []} <nil> <nil> <nil> [] [] []
}}]}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1ea0c4a]
goroutine 1 [running]:
github.com/tektoncd/cli/pkg/cmd/taskrun.printFormatted(0xc000639d78, 0xc00052a1c0, 0x2494ce0, 0x3092b98, 0xc0000c6008, 0x0)
/Users/eric/Sandbox/tektoncd/cli/pkg/cmd/taskrun/list.go:133 +0x24a
github.com/tektoncd/cli/pkg/cmd/taskrun.listCommand.func1(0xc0003e3680, 0x3092b98, 0x0, 0x0, 0x0, 0x0)
/Users/eric/Sandbox/tektoncd/cli/pkg/cmd/taskrun/list.go:78 +0x1fe
github.com/spf13/cobra.(*Command).execute(0xc0003e3680, 0x3092b98, 0x0, 0x0, 0xc0003e3680, 0x3092b98)
/Users/eric/Sandbox/go/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x465
github.com/spf13/cobra.(*Command).ExecuteC(0xc000396000, 0xc0002fa180, 0xc000396000, 0xc0000b2058)
/Users/eric/Sandbox/go/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fc
github.com/spf13/cobra.(*Command).Execute(...)
/Users/eric/Sandbox/go/pkg/mod/github.com/spf13/[email protected]/command.go:864
main.main()
/Users/eric/Sandbox/tektoncd/cli/cmd/tkn/main.go:31 +0x4c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment