From 84e8a0dfdcaf4fe42e650ebbb00b839e97f9b83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E7=AB=A0=E6=B5=A9?= Date: Thu, 29 Oct 2026 06:12:46 +0800 Subject: [PATCH] style(libraryagent): gofmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上一个提交漏跑 gofmt,本地门禁 format 失败;只改空白。 --- internal/libraryagent/agent.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/libraryagent/agent.go b/internal/libraryagent/agent.go index 9b32db6..315b60e 100644 --- a/internal/libraryagent/agent.go +++ b/internal/libraryagent/agent.go @@ -37,17 +37,17 @@ type Config struct { JournalRoot string // Writer declaration passed to the binary, exactly as reviewed in // scripts/library-capture.sh. Clients cannot influence it. - SourceApp string - SourcePG string - SourceES string + SourceApp string + SourcePG string + SourceES string // SourceS3Endpoint 让宿主机用可达地址读源对象存储:容器 env 里的端点常常 // 只是服务名(minio:9000),宿主机解析不到,资源导出会失败。 SourceS3Endpoint string - GovernancePG string - Project string - Writers string - NonWriters string - MaxDuration time.Duration + GovernancePG string + Project string + Writers string + NonWriters string + MaxDuration time.Duration // StopGrace bounds the graceful stop of one operation: SIGTERM first (the // child aborts the maintenance window and restores writers), then SIGKILL // only after this grace period. It must exceed the child's own restore budget.