-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix upgrade assistant warning for optional roles and roleTemplate pro…
…perties (#179818) Closes #177065 ## Summary Upgrade assistant in cloud shows a warning when trying to upgrade due to mutually exclusive `roles` and `roleTemplates` property in the `Get Role Mappings` API from ES. This PR fixes that by introducing conditional checks for where we check for the `roles` property. ## Release notes Fix warning displayed in Upgrade Assistant regarding `roles` and `roleTemplate` properties when checking response from Get Role Mappings API. --------- Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kurt <[email protected]>
- Loading branch information
1 parent
f04153b
commit 597ab88
Showing
3 changed files
with
3 additions
and
3 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
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