fix trace log message

This commit is contained in:
Kristoffer Dalby 2022-05-16 20:35:35 +02:00
parent 4aae917f74
commit 163e5c29e4

View File

@ -241,8 +241,8 @@ func (api headscaleV1APIServer) RenameMachine(
log.Trace().
Str("machine", machine.Hostname).
Time("expiry", *machine.Expiry).
Msg("machine expired")
Str("new_name", request.GetNewName()).
Msg("machine renamed")
return &v1.RenameMachineResponse{Machine: machine.toProto()}, nil
}