From a855abf8c0de73fb3a9913000e1eb8d8ea9840ff Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 30 Mar 2018 01:26:36 -0400 Subject: models: rename RewriteAllPublicKeys -> RewriteAuthorizedKeys --- routes/admin/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes') diff --git a/routes/admin/admin.go b/routes/admin/admin.go index 2ef83523..e3ac5bdf 100644 --- a/routes/admin/admin.go +++ b/routes/admin/admin.go @@ -151,7 +151,7 @@ func Dashboard(c *context.Context) { err = models.GitGcRepos() case SYNC_SSH_AUTHORIZED_KEY: success = c.Tr("admin.dashboard.resync_all_sshkeys_success") - err = models.RewriteAllPublicKeys() + err = models.RewriteAuthorizedKeys() case SYNC_REPOSITORY_HOOKS: success = c.Tr("admin.dashboard.resync_all_hooks_success") err = models.SyncRepositoryHooks() -- cgit v1.2.3