From 163e5c29e4cce5e6bf0e366a47fd3791a16a99ee Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 16 May 2022 20:35:35 +0200 Subject: [PATCH] fix trace log message --- grpcv1.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grpcv1.go b/grpcv1.go index 9c593890..11eaad53 100644 --- a/grpcv1.go +++ b/grpcv1.go @@ -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 }