-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
khepri_tree: Ignore unknown props to return
[Why] A future version of Khepri might introduce new props to return. If a Khepri cluster is being upgraded and several versions of the Khepri machine are running at the same time, an old node could be called with props to return it doesn’t know. [How] We simply ignore unknown props. In the process, we ignore `delete_reason` because it is set by another part of the code anyway.
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
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