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(). log.Trace().
Str("machine", machine.Hostname). Str("machine", machine.Hostname).
Time("expiry", *machine.Expiry). Str("new_name", request.GetNewName()).
Msg("machine expired") Msg("machine renamed")
return &v1.RenameMachineResponse{Machine: machine.toProto()}, nil return &v1.RenameMachineResponse{Machine: machine.toProto()}, nil
} }