mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-21 06:31:11 +02:00
fix: return non-nil response in reset
The gRPC response will fail to be decoded because our reply is nil. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
d4a59b7c14
commit
c40802b122
@ -121,7 +121,7 @@ func (r *Registrator) Reset(ctx context.Context, in *empty.Empty) (data *proto.R
|
|||||||
return data, err
|
return data, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return data, err
|
return &proto.ResetReply{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// ServiceList returns list of the registered services and their status
|
// ServiceList returns list of the registered services and their status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user