From 223bf69e44fec572e7bfa55f04ec20e02f7b0fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=80=E4=B9=8B?= Date: Fri, 24 Mar 2023 17:47:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AEkey?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- internal/watch/watch.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebd7f51..6b9ad1c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ test-job: lint-job: stage: test - image: golangci/golangci-lint:v1.46 + image: golangci/golangci-lint:v1.52 cache: key: lint-cache paths: diff --git a/internal/watch/watch.go b/internal/watch/watch.go index c0f1583..7e17049 100644 --- a/internal/watch/watch.go +++ b/internal/watch/watch.go @@ -35,7 +35,7 @@ func Watch() cago.Component { func (w *watch) Start(ctx context.Context, cfg *configs.Config) error { config := &Config{} - if err := cfg.Scan("w", config); err != nil { + if err := cfg.Scan("watch", config); err != nil { return err } // 获取记录列表