diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 08:40:32 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-15 08:40:32 -0400 |
commit | db3e8faadbc6be99c66404696c4f0ecd67148564 (patch) | |
tree | f4993ebd1a9cf990e23fc194b77e36a6e0b7adab | |
parent | b60e8b14c592024904a149a442d32f7bbf0f6b96 (diff) | |
download | Atlas-db3e8faadbc6be99c66404696c4f0ecd67148564.tar.gz Atlas-db3e8faadbc6be99c66404696c4f0ecd67148564.zip |
pkg/api/api0: Fix regression in ServerList refactor
-rw-r--r-- | pkg/api/api0/serverlist.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/serverlist.go b/pkg/api/api0/serverlist.go index b36ac3f..11b7950 100644 --- a/pkg/api/api0/serverlist.go +++ b/pkg/api/api0/serverlist.go @@ -519,7 +519,7 @@ func (s *ServerList) ServerHybridUpdatePut(u *ServerUpdate, c *Server, l ServerL } // create/replace a server instead if we have s - if s != nil { + if c != nil { // deep copy the new server info nsrv := c.clone() |