Skip to content

Commit 729d2cb

Browse files
authored
Merge pull request #344 from justinsb/cleanup_343
Cleanup: remove commented-out code in kubectl fork
2 parents 6371221 + 8e1b271 commit 729d2cb

File tree

1 file changed

+0
-4
lines changed
  • applylib/third_party/forked/github.com/kubernetes/kubectl/pkg/cmd/apply

1 file changed

+0
-4
lines changed

applylib/third_party/forked/github.com/kubernetes/kubectl/pkg/cmd/apply/applyset.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,10 +366,6 @@ func parseKindAnnotation(annotations map[string]string, mapper meta.RESTMapper)
366366
}
367367
for _, grString := range strings.Split(annotation, ",") {
368368
gk := schema.ParseGroupKind(grString)
369-
// gvk, err := mapper.KindFor(gr.WithVersion(""))
370-
// if err != nil {
371-
// return nil, fmt.Errorf("invalid group resource in %q annotation: %w", ApplySetGKsAnnotation, err)
372-
// }
373369
restMapping, err := mapper.RESTMapping(gk)
374370
if err != nil {
375371
return nil, fmt.Errorf("could not find mapping for kind in %q annotation: %w", ApplySetGKsAnnotation, err)

0 commit comments

Comments
 (0)