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(dump) fix compatibility for Kong < 1.3 #64

Merged
merged 1 commit into from
Aug 20, 2019
Merged

Commits on Aug 20, 2019

  1. fix(dump) fix compatibility for Kong < 1.3

    CACertificate core entitiy was not present in the past
    and the Admin API request will error with 404 Not Found for older
    versions of Kong.
    If we do get a 404 from Kong, instead of erroring out,
    return back an empty array of
    CACertificates, effectively disabling the entity for versions
    which don't have it.
    A better solution would be to have a version check, and based
    on the version, the entities are loaded and synced.
    
    Fix #59
    hbagdi committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    c1d9fff View commit details
    Browse the repository at this point in the history