mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Forbidden should not swallow the underlying error
This commit is contained in:
parent
4cd345b8a6
commit
e5b550576c
@ -102,7 +102,7 @@ func NewForbidden(kind, name string, err error) error {
|
||||
Kind: kind,
|
||||
ID: name,
|
||||
},
|
||||
Message: fmt.Sprintf("%s %q is forbidden", kind, name),
|
||||
Message: fmt.Sprintf("%s %q is forbidden: %v", kind, name, err),
|
||||
}}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user