From 5b17fedc0768019418e521c8f1806899c2406b0e Mon Sep 17 00:00:00 2001 From: jichangjun Date: Sat, 20 Jan 2024 21:42:23 +0800 Subject: [PATCH] chore: test reviewbot --- main.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/main.go b/main.go index d6967045..e0a5e1d3 100644 --- a/main.go +++ b/main.go @@ -1,12 +1,12 @@ /* Copyright 2024 Qiniu Cloud (qiniu.com). - + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -24,10 +24,10 @@ import ( "os" "github.com/bradleyfalzon/ghinstallation/v2" - "github.com/reviewbot/config" "github.com/google/go-github/v57/github" "github.com/gregjones/httpcache" "github.com/qiniu/x/log" + "github.com/reviewbot/config" "github.com/sirupsen/logrus" gitv2 "k8s.io/test-infra/prow/git/v2" @@ -124,9 +124,9 @@ func main() { logrus.SetLevel(logrus.DebugLevel) cfg, err := config.NewConfig(o.config) - if err != nil { - log.Fatalf("failed to create config: %v", err) - } + // if err != nil { + // log.Fatalf("failed to create config: %v", err) + // } s := &Server{ gc: gc,