spiegel_podman/pkg/machine/hyperv
lstocchi f96cbda1b0
hyperv: propagate detailed error from Hyper-V permission checks
Change isHyperVAdminMember from returning a bool to returning an error so that callers surface the specific failure reason — particularly distinguishing "not in the group" from "in the group but session not updated" (new ErrHypervUserSessionNotUpdated sentinel). This gives users actionable guidance instead of a generic permission error.

Signed-off-by: lstocchi <lstocchi@redhat.com>
2026-05-25 00:10:18 +02:00
..
vsock Add command podman system hyperv-prep 2026-04-29 23:00:29 +02:00
hutil.go hyperv: propagate detailed error from Hyper-V permission checks 2026-05-25 00:10:18 +02:00
stubber.go hyperv: propagate detailed error from Hyper-V permission checks 2026-05-25 00:10:18 +02:00
stubber_test.go hyperv: propagate detailed error from Hyper-V permission checks 2026-05-25 00:10:18 +02:00
volumes.go Add command podman system hyperv-prep 2026-04-29 23:00:29 +02:00