-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert early out errors in license API (#10952)
Licensing recently changed in Consul v1.10 and along with those changes the client API was updated such that PutLicense and ResetLicense both immediately return an error to avoid an unecessary round trip that will inevitably fail. For reference, see: 08eb600 Unfortunately, this change broke forward compatibility such that a v1.10 client can no longer make these requests to a v1.9 server which is a valid use case. This commit reintroduces these requests to fix this compatibility breakage but leaves the deprecation notices in tact.
- Loading branch information
1 parent
784b0f5
commit 03c5238
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
```release-note:bug | ||
api: Revert early out errors from license APIs to allow v1.10+ clients to | ||
manage licenses on older servers | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters