Skip to content

Commit

Permalink
fix bugs in tidb oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
TZ-zzz committed Dec 14, 2024
1 parent 9d9b0d2 commit a7d1000
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion data/tidb-operator/v1-6-0/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ spec:
config: |
[performance]
tcp-keep-alive = true
graceful-wait-before-shutdown = 30
## The desired replicas
replicas: 3
Expand Down
2 changes: 1 addition & 1 deletion data/tidb-operator/v1-6-0/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def check(
logger.info("Checking TiDB config")
if (
"tidb" in snapshot.input_cr["spec"]
and "config" in snapshot.input_cr["spec"]["tidb"]["config"]
and "config" in snapshot.input_cr["spec"]["tidb"]
):
tidb_spec_config = snapshot.input_cr["spec"]["tidb"]["config"]
else:
Expand Down

0 comments on commit a7d1000

Please sign in to comment.