mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 06:32:32 +00:00
Merge pull request #3519 from derekwaynecarr/forbidden_swallows_err
Forbidden should not swallow the underlying error
This commit is contained in:
@@ -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),
|
||||
}}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user