aboutsummaryrefslogtreecommitdiff
path: root/pkg/api/api0
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-15 08:40:32 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-15 08:40:32 -0400
commitdb3e8faadbc6be99c66404696c4f0ecd67148564 (patch)
treef4993ebd1a9cf990e23fc194b77e36a6e0b7adab /pkg/api/api0
parentb60e8b14c592024904a149a442d32f7bbf0f6b96 (diff)
downloadAtlas-db3e8faadbc6be99c66404696c4f0ecd67148564.tar.gz
Atlas-db3e8faadbc6be99c66404696c4f0ecd67148564.zip
pkg/api/api0: Fix regression in ServerList refactor
Diffstat (limited to 'pkg/api/api0')
-rw-r--r--pkg/api/api0/serverlist.go2
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()