Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: completely prevent editing resources other than mc
The previous check only applied to `talosctl edit <type>`, but failed to check `talosctl edit <type> <id>`. Editing didn't work anyways, but this prevents unhelpful error messages. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
- Loading branch information