Skip to content

Commit

Permalink
fix: dump with Konnect is missing Kong version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
GGabriele committed Sep 27, 2022
1 parent c7262ae commit 69d8f8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/common_konnect.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func dumpKonnectV2(ctx context.Context) error {
FileFormat: file.Format(strings.ToUpper(konnectDumpCmdStateFormat)),
WithID: dumpWithID,
RuntimeGroupName: konnectRuntimeGroup,
KongVersion: defaultFetchedKongVersion,
})
}

Expand Down

0 comments on commit 69d8f8c

Please sign in to comment.