-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidecar struct field Workspaces has not JSON annotation #3964
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
jeffmaury
added a commit
to jeffmaury/pipeline
that referenced
this issue
May 21, 2021
Fixes tektoncd#3964 Signed-off-by: Jeff MAURY <jmaury@redhat.com>
5 tasks
tekton-robot
pushed a commit
that referenced
this issue
May 23, 2021
Fixes #3964 Signed-off-by: Jeff MAURY <jmaury@redhat.com>
jerop
pushed a commit
to jerop/pipeline
that referenced
this issue
Jun 7, 2021
Fixes tektoncd#3964 Signed-off-by: Jeff MAURY <jmaury@redhat.com>
jerop
added a commit
to jerop/pipeline
that referenced
this issue
Jun 7, 2021
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 tektoncd#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
5 tasks
jerop
added a commit
to jerop/pipeline
that referenced
this issue
Jun 8, 2021
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 tektoncd#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.
5 tasks
tekton-robot
pushed a commit
that referenced
this issue
Jun 8, 2021
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Field should be annotated with json:"workspaces,omitempty"
Actual Behavior
No annotation in source code.
The text was updated successfully, but these errors were encountered: