Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic when parsing slice of string in Traefik plugin #166

Merged
merged 2 commits into from
Jan 10, 2022

Conversation

kevinpollet
Copy link
Contributor

Motivation

Because the plugin configuration parsing is done differently in TraefikEE and Traefik Proxy, the configuration object given to the souin plugin is respectively different. This is why the code to parse this object was only working in the TraefikCE case.

Therefore, this pull request fixes the parsing in the souin plugin to work for both kinds of input.

Fixes #163

Copy link
Owner

@darkweak darkweak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and I trust you on the fact TræfikEE manage in a different way the parsing configuration.
Ty for this work @kevinpollet. By the way you can add your username in the credits section in the main README.

@darkweak darkweak merged commit 81311a0 into darkweak:master Jan 10, 2022
@darkweak
Copy link
Owner

Thank you @kevinpollet !

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

Successfully merging this pull request may close these issues.

TraefikEE 2.5.3 installation error (plugins not found)
2 participants