missing updates #5
@@ -46,7 +46,7 @@ func (s *ControlServer[V]) AnnounceExpiry(ctx context.Context, req *messages.Exp
|
|||||||
|
|
||||||
// ControlPlane: Ping
|
// ControlPlane: Ping
|
||||||
func (s *ControlServer[V]) Ping(ctx context.Context, _ *messages.Empty) (*messages.PingReply, error) {
|
func (s *ControlServer[V]) Ping(ctx context.Context, _ *messages.Empty) (*messages.PingReply, error) {
|
||||||
|
log.Printf("got ping")
|
||||||
return &messages.PingReply{
|
return &messages.PingReply{
|
||||||
Host: s.pool.Hostname(),
|
Host: s.pool.Hostname(),
|
||||||
UnixTime: time.Now().Unix(),
|
UnixTime: time.Now().Unix(),
|
||||||
|
|||||||
Reference in New Issue
Block a user