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 with Konnect is missing Kong version #758

Merged
merged 1 commit into from Sep 27, 2022
Merged

Conversation

GGabriele
Copy link
Collaborator

Recently we made decK more aware of the _format_version value, which require fetching the Kong version from Admin API. This is not possible for Konnect right now, so we just hardcoded it for sync, but missed it for the dump command.

This commit is fixing it.

@GGabriele GGabriele requested a review from a team as a code owner September 27, 2022 15:11
@GGabriele GGabriele temporarily deployed to Configure ci September 27, 2022 15:11 Inactive
@codecov-commenter
Copy link

Codecov Report

Base: 39.79% // Head: 39.78% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (69d8f8c) compared to base (c7262ae).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #758      +/-   ##
==========================================
- Coverage   39.79%   39.78%   -0.01%     
==========================================
  Files          87       87              
  Lines        9884     9885       +1     
==========================================
  Hits         3933     3933              
- Misses       5572     5573       +1     
  Partials      379      379              
Impacted Files Coverage Δ
cmd/common_konnect.go 7.42% <0.00%> (-0.03%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Recently we made `decK` more aware of the `_format_version` value,
which require fetching the Kong version from Admin API.
This is not possible for Konnect right now, so we just hardcoded
it for `sync`, but missed it for the `dump` command.

This commit is fixing it.
@GGabriele GGabriele temporarily deployed to Configure ci September 27, 2022 15:20 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci September 27, 2022 15:20 Inactive
@GGabriele GGabriele merged commit bb70f8f into main Sep 27, 2022
@GGabriele GGabriele deleted the fix/dump-konnect branch September 27, 2022 16:48
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.

None yet

3 participants