From a33ac304cae2a99f7f95a88e34835b0134c395e4 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 2 Aug 2021 20:02:27 -0700 Subject: [PATCH] Perhaps don't break _everything_ on people. --- server/server.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/server.go b/server/server.go index 876a3d8..3526faa 100644 --- a/server/server.go +++ b/server/server.go @@ -99,6 +99,14 @@ func (s *Server) ID() string { return s.Config().GetUuid() } +// Id returns the UUID for the server instance. This function is deprecated +// in favor of Server.ID(). +// +// Deprecated +func (s *Server) Id() string { + return s.ID() +} + // Cancels the context assigned to this server instance. Assuming background tasks // are using this server's context for things, all of the background tasks will be // stopped as a result.