Skip to content

Commit

Permalink
fix: typo gmt_create_time to gmt_create
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Oct 24, 2023
1 parent 884bb8f commit 0e7f72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/oceanbase/model/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
GmtCreateTime string `json:"gmt_create_time,omitempty" db:"gmt_create"`
GmtCreate string `json:"gmt_create,omitempty" db:"gmt_create"`

Check failure on line 36 in pkg/oceanbase/model/system.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
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"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/oceanbase/model/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
GmtCreateTime string `json:"gmt_create_time" db:"gmt_create"`
GmtCreate string `json:"gmt_create" db:"gmt_create"`

Check failure on line 24 in pkg/oceanbase/model/tenant.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
}

type Replica struct {
Expand Down

0 comments on commit 0e7f72c

Please sign in to comment.