Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not inject plugin.RunOn when Kong >= 2.0.0
Kong 2.0.0 removed the `run_on` property on the `plugins` entity. Controller's code always injects it avoid false positives during diffs. The change nils the property for Kong 2.0 and above only to avoid any effect on Kong Enterprise, which follows a different versioning scheme. From #522 Fix #521
- Loading branch information