Remove unuused parameters
This commit removes names for unusued parameters where they are no longer needed.
This commit is contained in:
parent
b45233b87c
commit
8ad8cf7994
24 changed files with 30 additions and 30 deletions
|
|
@ -47,7 +47,7 @@ type SSHTemplateContext struct {
|
|||
Services []ssh2.Intercept
|
||||
}
|
||||
|
||||
func (panel *UserPanel) sshRoute(ctx context.Context) http.Handler {
|
||||
func (panel *UserPanel) sshRoute(context.Context) http.Handler {
|
||||
tpl := sshTemplate.Prepare(
|
||||
panel.dependencies.Templating,
|
||||
templating.Crumbs(
|
||||
|
|
@ -143,7 +143,7 @@ type addKeyResult struct {
|
|||
Key ssh.PublicKey
|
||||
}
|
||||
|
||||
func (panel *UserPanel) sshAddRoute(ctx context.Context) http.Handler {
|
||||
func (panel *UserPanel) sshAddRoute(context.Context) http.Handler {
|
||||
tpl := sshAddTemplate.Prepare(
|
||||
panel.dependencies.Templating,
|
||||
templating.Crumbs(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue