-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend
getAttributeFromPath
search to status fields as well. (#512)
Prior to this patch, `getAttributeFromPath` searched for paths in spec fields only. And acted as a no-op when it comes to status fields. This patch extends the search to status fields as well, allowing us to configure nested fields in the status as well. This is gonna be used to configure ECS Cluster `Status.Attachments.Type` go tags (set `type` instead of `type_`) Signed-off-by: Amine Hilaly <[email protected]> By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
Showing
1 changed file
with
31 additions
and
14 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