diff options
Diffstat (limited to 'modules/doctor/authorizedkeys.go')
-rw-r--r-- | modules/doctor/authorizedkeys.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/doctor/authorizedkeys.go b/modules/doctor/authorizedkeys.go index 1a9b60e248..3eb931e6f6 100644 --- a/modules/doctor/authorizedkeys.go +++ b/modules/doctor/authorizedkeys.go @@ -7,6 +7,7 @@ package doctor import ( "bufio" "bytes" + "context" "fmt" "os" "path/filepath" @@ -19,7 +20,7 @@ import ( const tplCommentPrefix = `# gitea public key` -func checkAuthorizedKeys(logger log.Logger, autofix bool) error { +func checkAuthorizedKeys(ctx context.Context, logger log.Logger, autofix bool) error { if setting.SSH.StartBuiltinServer || !setting.SSH.CreateAuthorizedKeysFile { return nil } |