Fix arg name

This commit is contained in:
2022-05-13 23:17:30 +02:00
parent c9ba91c585
commit ac66b4aa97

View File

@@ -10,7 +10,7 @@ import (
"github.com/dpogorzelski/speedrun/proto/portal"
)
func (s *Server) SystemReboot(ctx context.Context, file *portal.SystemRebootRequest) (*portal.SystemRebootResponse, error) {
func (s *Server) SystemReboot(ctx context.Context, system *portal.SystemRebootRequest) (*portal.SystemRebootResponse, error) {
fields := log.Fields{
"context": "system",
"command": "reboot",