style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions
+7 -7
View File
@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
hbase:
@@ -17,11 +17,11 @@ services:
- hbase_data:/hbase-data
- hbase_zookeeper_data:/zookeeper-data
ports:
- "${HBASE_MASTER_PORT_OVERRIDE:-16000}:16000"
- "${HBASE_MASTER_INFO_PORT_OVERRIDE:-16010}:16010"
- "${HBASE_REGIONSERVER_PORT_OVERRIDE:-16020}:16020"
- "${HBASE_REGIONSERVER_INFO_PORT_OVERRIDE:-16030}:16030"
- "${HBASE_ZOOKEEPER_PORT_OVERRIDE:-2181}:2181"
- '${HBASE_MASTER_PORT_OVERRIDE:-16000}:16000'
- '${HBASE_MASTER_INFO_PORT_OVERRIDE:-16010}:16010'
- '${HBASE_REGIONSERVER_PORT_OVERRIDE:-16020}:16020'
- '${HBASE_REGIONSERVER_INFO_PORT_OVERRIDE:-16030}:16030'
- '${HBASE_ZOOKEEPER_PORT_OVERRIDE:-2181}:2181'
deploy:
resources:
limits:
@@ -31,7 +31,7 @@ services:
cpus: ${HBASE_CPU_RESERVATION:-1.0}
memory: ${HBASE_MEMORY_RESERVATION:-2G}
healthcheck:
test: ["CMD-SHELL", "echo 'status' | hbase shell -n || exit 1"]
test: [CMD-SHELL, "echo 'status' | hbase shell -n || exit 1"]
interval: 30s
timeout: 10s
retries: 5