Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0e272d

Browse files
GiteaBotlunny
andauthored
Add missing setting load in dump-repo command (#34479) (#34489)
Backport#34479 by@lunnyFix#34465Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 parent47537a8 commita0e272d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎cmd/dump_repo.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ wiki, issues, labels, releases, release_assets, milestones, pull_requests, comme
8080
}
8181

8282
funcrunDumpRepository(ctx*cli.Context)error {
83+
setupConsoleLogger(log.INFO,log.CanColorStderr,os.Stderr)
84+
85+
setting.DisableLoggerInit()
86+
setting.LoadSettings()// cannot access skip_tls_verify settings otherwise
87+
8388
stdCtx,cancel:=installSignals()
8489
defercancel()
8590

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp