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:
Andrew Rynhard 2019-07-13 18:06:57 +00:00
parent d4a59b7c14
commit c40802b122

View File

@ -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