diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 05:55:19 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 05:55:19 -0400 |
commit | 28e3fbdfa2419f07d8a5c0beaa80d75c06856982 (patch) | |
tree | b48418f8ad0ab8e8611f99cad4c2922dbea563dc | |
parent | 49423ea779a521f8bc131bb862bececdd73dc47e (diff) | |
download | Atlas-28e3fbdfa2419f07d8a5c0beaa80d75c06856982.tar.gz Atlas-28e3fbdfa2419f07d8a5c0beaa80d75c06856982.zip |
pkg/api/api0: Remove old ServerList TODO
Isn't actually necessary to implement backup/restore since NS has
given all fields necessary to re-register in /server/update_values
since v1.4.0 (Jan 2022).
-rw-r--r-- | pkg/api/api0/serverlist.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/api/api0/serverlist.go b/pkg/api/api0/serverlist.go index 340b54f..86d36c4 100644 --- a/pkg/api/api0/serverlist.go +++ b/pkg/api/api0/serverlist.go @@ -610,8 +610,6 @@ func (s *ServerList) freeServer(x *Server) { } } -// TODO: backup/restore (remember to reset cs cache, ensure heartbeat times are not in the future, and set the order var) - func (s *ServerList) isServerAlive(x *Server, t time.Time) bool { if x == nil { return false |