Skip to content
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

fix: correct json tag last_transition_time to lastTransitionTime #25

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/collaset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ type CollaSetCondition struct {
Status corev1.ConditionStatus `json:"status,omitempty"`

// Last time the condition transitioned from one status to another.
LastTransitionTime metav1.Time `json:"last_transition_time,omitempty"`
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`

// The reason for the condition's last transition.
Reason string `json:"reason,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/apps.kafed.io_collasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ spec:
current state.
items:
properties:
last_transition_time:
lastTransitionTime:
description: Last time the condition transitioned from one status
to another.
format: date-time
Expand Down
Loading