Skip to content

Commit 06932c0

Browse files
author
aalexand
committed
Fix ChargedBack field marshaling issue
1 parent 90bcbf8 commit 06932c0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pkg/api/registry/v1/cluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type ClusterSpec struct {
5959
ChargebackBusinessUnit string `json:"chargebackBusinessUnit,omitempty"`
6060

6161
// Whether the cluster is charged back to the chargebackBusinessUnit
62-
ChargedBack bool `json:"chargedBack,omitempty"`
62+
ChargedBack *bool `json:"chargedBack,omitempty"`
6363

6464
// The Org that is responsible for the cluster operations
6565
// +kubebuilder:validation:Required

pkg/api/registry/v1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)