You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Redis as external cache storage, the below error is thrown
Line |
153 | elseif (Test-PodeCacheStorage -Key $Storage) {
| ~~~~
| A parameter cannot be found that matches parameter name 'Key'.```
### Problematic Code References
https://github.com/Badgerati/Pode/blob/21c76a16c0b57caa459fbc9de4a7d13b412133c1/src/Public/Caching.ps1#L55
https://github.com/Badgerati/Pode/blob/21c76a16c0b57caa459fbc9de4a7d13b412133c1/src/Public/Caching.ps1#L153
https://github.com/Badgerati/Pode/blob/21c76a16c0b57caa459fbc9de4a7d13b412133c1/src/Public/Caching.ps1#L207
https://github.com/Badgerati/Pode/blob/21c76a16c0b57caa459fbc9de4a7d13b412133c1/src/Public/Caching.ps1#L258
https://github.com/Badgerati/Pode/blob/21c76a16c0b57caa459fbc9de4a7d13b412133c1/src/Public/Caching.ps1#L304
### Expected Behavior
The Test-PodeCacheStorage expects a `Name` parameter.
### Additional Context
Not sure of the preferred fixed here. The least intrusive is to set an alias, or the params could be fixed to used the correct parameter name.
The text was updated successfully, but these errors were encountered:
Describe the Bug
When using Redis as external cache storage, the below error is thrown
The text was updated successfully, but these errors were encountered: