-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Workspaces in Sidecar to be serialized as workspaces not Workspaces
Workspaces field in Sidecar does not have a JSON annotation, therefore it defaults to pascalcase. This is inconsistent with other fields that are all lowercase. We need to dd the annotations to ensure that json schema generators work correctly. This change annotates the Workspaces field in Sidecar with `json:"workspaces,omitempty"`. Fixes #3964 (cherry picked from commits 7f2eafa, 0b80063, a9b729b) We need to cherry pick this change into v0.24 to avoid backwards incompatibility and regressed behavior when we release v0.25.
- Loading branch information
1 parent
00521b9
commit 5c7a111
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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