-
-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix backward incompatibility regression.
The introduction of argo-rollouts introduced a call to the new traffic-manager function `GetKnownWorkloadKinds` from the user client, and a client connecting to older traffic-managers that don't have this method would therefore fail with an error. This commit checks if the returned error has code `Unimplemented`, and if so, assumes the default set of workload kinds. Signed-off-by: Thomas Hallgren <thomas@tada.se>
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 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
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