Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Fix issue 443 plugin proxy_cache got "expected an integer" #493

Merged

Conversation

danybmx
Copy link
Contributor

@danybmx danybmx commented Nov 13, 2019

This MR fix the problem from #433 when trying to add the proxy_cache plugin to a route, service or globally.

It just transforms the string elements of the array generated by chips with integers when the field elements type is integer.

Steps to test:

  1. Go to Plugins
  2. Add a new Global Plugin and use Others > Proxy Cache
  3. Write some response codes 200 304...
  4. Select strategy > memory
  5. Save.

Hope it helps

@pantsel pantsel merged commit 7865064 into pantsel:next Nov 15, 2019
@pantsel
Copy link
Owner

pantsel commented Nov 15, 2019

@danybmx , thanks a bunch for the contribution man!

@Jeiwan
Copy link

Jeiwan commented Mar 24, 2020

@pantsel Could you please release a new version with this change?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants