Skip to content

Commit

Permalink
Merge pull request #1089 from spencerhance/cp-1082-release-1-9
Browse files Browse the repository at this point in the history
Cherry-pick #1082 to release-1.9 [Update FrontendConfig v1beta1 API so that Spec and Status fields are omitempty]
  • Loading branch information
k8s-ci-robot authored May 5, 2020
2 parents d0e24aa + 5a09641 commit 369321d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/frontendconfig/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
type FrontendConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FrontendConfigSpec `json:"spec"`
Status FrontendConfigStatus `json:"status"`
Spec FrontendConfigSpec `json:"spec,omitempty"`
Status FrontendConfigStatus `json:"status,omitempty"`
}

// FrontendConfigSpec is the spec for a FrontendConfig resource
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 369321d

Please sign in to comment.