Fix error formatting for GetInput
Signed-off-by: Nic Cope <nicc@rk0n.org>
This commit is contained in:
parent
97d0983aae
commit
1335c4bd9c
|
@ -31,7 +31,7 @@ import (
|
|||
|
||||
// GetInput from the supplied request. Input is loaded into the supplied object.
|
||||
func GetInput(req *v1beta1.RunFunctionRequest, into runtime.Object) error {
|
||||
return errors.Wrap(resource.AsObject(req.GetInput(), into), "cannot get Function input %T from %T, into, req")
|
||||
return errors.Wrapf(resource.AsObject(req.GetInput(), into), "cannot get function input %T from %T", into, req)
|
||||
}
|
||||
|
||||
// GetContextKey gets context from the supplied key.
|
||||
|
|
Loading…
Reference in New Issue