summaryrefslogtreecommitdiffstats
path: root/cmd/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/admin.go')
-rw-r--r--cmd/admin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 3ddf8eddf9..31ba77877b 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -512,7 +512,7 @@ func runDeleteUser(c *cli.Context) error {
return models.DeleteUser(user)
}
-func runRepoSyncReleases(c *cli.Context) error {
+func runRepoSyncReleases(_ *cli.Context) error {
if err := initDB(); err != nil {
return err
}
@@ -578,14 +578,14 @@ func getReleaseCount(id int64) (int64, error) {
)
}
-func runRegenerateHooks(c *cli.Context) error {
+func runRegenerateHooks(_ *cli.Context) error {
if err := initDB(); err != nil {
return err
}
return repo_module.SyncRepositoryHooks(graceful.GetManager().ShutdownContext())
}
-func runRegenerateKeys(c *cli.Context) error {
+func runRegenerateKeys(_ *cli.Context) error {
if err := initDB(); err != nil {
return err
}