SIGN IN SIGN UP

cli-runtime: include group in resource-not-found error message (#140759)

* cli-runtime: include group in resource-not-found error message

Signed-off-by: Abhishek Pareek <makeittotop@users.noreply.github.com>

* cli-runtime: align resource-not-found error with helpers.go pattern

Per review feedback on kubernetes/kubernetes#140759: use a switch
covering group+version, group-only, version-only. Also drops the
added unit test as requested.

* cli-runtime: drop stray whitespace diff in builder_test.go

Per review feedback on kubernetes/kubernetes#140759: revert the
leftover blank-line changes from the removed test so this file has
no unrelated diff.

---------

Signed-off-by: Abhishek Pareek <makeittotop@users.noreply.github.com>
Co-authored-by: Abhishek Pareek <makeittotop@users.noreply.github.com>

Kubernetes-commit: da21aa3d3454e7f257db039ef7c22b6f375b2011
A
abhishek pareek committed
c6b14e7f9cb18d23d75accaa9b0cfed0dfe3d355
Parent: e973ad6
Committed by Kubernetes Publisher <k8s-publishing-bot@users.noreply.github.com> on 7/24/2026, 6:50:38 AM