Skip to content

Commit

Permalink
fix: add omitempty
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Dec 10, 2024
1 parent 930d9b1 commit b2135cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1/revision_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type RevisionStatus struct {
LastCreatedDeploymentName string `json:"lastCreatedDeploymentName,omitempty"`
LastCreatedServiceName string `json:"lastCreatedServiceName,omitempty"`
LastCreatedServingNames map[string]string `json:"lastCreatedServingNames,omitempty"`
LastBinedNamspases map[string]string `json:"lastBinedNamespases"`
LastBinedNamspases map[string]string `json:"lastBinedNamespases,omitempty"`
}

// +kubebuilder:object:root=true
Expand Down
2 changes: 0 additions & 2 deletions config/crd/bases/uniflow.dev_revisions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7891,8 +7891,6 @@ spec:
additionalProperties:
type: string
type: object
required:
- lastBinedNamespases
type: object
type: object
served: true
Expand Down

0 comments on commit b2135cf

Please sign in to comment.