File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ limitations under the License.
36
36
// )
37
37
//
38
38
// This also true of the built-in Kubernetes types. Then, in the entrypoint for
39
- // your manager, assemble the scheme containing exactly the types you need.
40
- // For instance, if our controller needs types from the core/v1 API group (e.g. Pod),
41
- // plus types from my.api.group/v1:
39
+ // your manager, assemble the scheme containing exactly the types you need,
40
+ // panicing if scheme registration failed. For instance, if our controller needs
41
+ // types from the core/v1 API group (e.g. Pod), plus types from my.api.group/v1:
42
42
//
43
43
// func init() {
44
- // myapigroupv1.AddToScheme(scheme)
45
- // kubernetesscheme.AddToScheme(scheme)
44
+ // utilruntime.Must( myapigroupv1.AddToScheme(scheme) )
45
+ // utilruntime.Must( kubernetesscheme.AddToScheme(scheme) )
46
46
// }
47
47
//
48
48
// func main() {
You can’t perform that action at this time.
0 commit comments