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

View File

@@ -4,15 +4,15 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
etcd:
<<: *defaults
image: quay.io/coreos/etcd:${ETCD_VERSION:-v3.6.0}
ports:
- "${ETCD_CLIENT_PORT_OVERRIDE:-2379}:2379"
- "${ETCD_PEER_PORT_OVERRIDE:-2380}:2380"
- '${ETCD_CLIENT_PORT_OVERRIDE:-2379}:2379'
- '${ETCD_PEER_PORT_OVERRIDE:-2380}:2380'
volumes:
- etcd_data:/etcd-data
environment:
@@ -56,7 +56,7 @@ services:
cpus: ${ETCD_CPU_RESERVATION:-0.25}
memory: ${ETCD_MEMORY_RESERVATION:-256M}
healthcheck:
test: ["CMD", "etcdctl", "endpoint", "health"]
test: [CMD, etcdctl, endpoint, health]
interval: 30s
timeout: 10s
retries: 3