From 04a8256a6e6910f23f4ad24f40dc2bcf93f33ec8 Mon Sep 17 00:00:00 2001 From: yuyi Date: Tue, 24 Oct 2023 21:24:52 +0800 Subject: [PATCH] chore: fmt change tab to space --- .../bases/oceanbase.oceanbase.com_obtenantbackuppolicies.yaml | 2 +- pkg/oceanbase/model/system.go | 2 +- pkg/oceanbase/model/tenant.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/crd/bases/oceanbase.oceanbase.com_obtenantbackuppolicies.yaml b/config/crd/bases/oceanbase.oceanbase.com_obtenantbackuppolicies.yaml index 5b0f1d8ad..b7a7c0deb 100644 --- a/config/crd/bases/oceanbase.oceanbase.com_obtenantbackuppolicies.yaml +++ b/config/crd/bases/oceanbase.oceanbase.com_obtenantbackuppolicies.yaml @@ -942,7 +942,7 @@ spec: type: string create_time: type: string - gmt_create_time: + gmt_create: type: string in_recyclebin: type: string diff --git a/pkg/oceanbase/model/system.go b/pkg/oceanbase/model/system.go index c84b4ed4a..2880475b1 100644 --- a/pkg/oceanbase/model/system.go +++ b/pkg/oceanbase/model/system.go @@ -33,7 +33,7 @@ type OBTenant struct { RecoveryUntilScn int64 `json:"recovery_until_scn" db:"recovery_until_scn"` LogMode string `json:"log_mode" db:"log_mode"` ArbitrationServiceStatus string `json:"arbitration_service_status" db:"arbitration_service_status"` - GmtCreate string `json:"gmt_create,omitempty" db:"gmt_create"` + GmtCreate string `json:"gmt_create,omitempty" db:"gmt_create"` SwitchoverStatus string `json:"switchover_status,omitempty" db:"switchover_status"` SwitchoverEpoch int64 `json:"switchover_epoch,omitempty" db:"switchover_epoch"` UnitNum int64 `json:"unit_num,omitempty" db:"unit_num"` diff --git a/pkg/oceanbase/model/tenant.go b/pkg/oceanbase/model/tenant.go index c54e6231f..bc3e32271 100644 --- a/pkg/oceanbase/model/tenant.go +++ b/pkg/oceanbase/model/tenant.go @@ -21,7 +21,7 @@ type Tenant struct { Locality string `json:"locality" db:"locality"` PreviousLocality string `json:"previous_locality" db:"previous_locality"` Status string `json:"status" db:"status"` - GmtCreate string `json:"gmt_create" db:"gmt_create"` + GmtCreate string `json:"gmt_create" db:"gmt_create"` } type Replica struct {