Skip to content

Commit adc5280

Browse files
author
Andy Goldstein
committed
pkg/build/api/v1: register metav1.Status because the BC webhook returns that for New
1 parent 7bac406 commit adc5280

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/build/api/v1/register.go

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
3131
&BuildRequest{},
3232
&BuildLogOptions{},
3333
&BinaryBuildRequestOptions{},
34+
&metav1.Status{},
3435
)
3536
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
3637
return nil

0 commit comments

Comments
 (0)