fix minor potential nil-pointer panic on line 89 (#8488)
This commit is contained in:
parent
cdeb22b14c
commit
a9e605cc43
|
@ -81,7 +81,7 @@ func (b *backend) pathGenerateIntermediate(ctx context.Context, req *logical.Req
|
|||
switch err.(type) {
|
||||
case errutil.UserError:
|
||||
return logical.ErrorResponse(err.Error()), nil
|
||||
case errutil.InternalError:
|
||||
default:
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue