Skip to content
Snippets Groups Projects
Commit f8266026 authored by Jake Taylor's avatar Jake Taylor
Browse files

fix bool

parent 90dc862b
No related branches found
No related tags found
2 merge requests!231Revert "Update store to print changes to the partners list",!169Hotfix/renable historical
...@@ -462,7 +462,7 @@ func (h *HostPool) checkReplace(hostId *id.ID, hostErr error) (bool, error) { ...@@ -462,7 +462,7 @@ func (h *HostPool) checkReplace(hostId *id.ID, hostErr error) (bool, error) {
} }
h.hostMux.Unlock() h.hostMux.Unlock()
} }
return doReplace && err != nil, err return doReplace && err == nil, err
} }
// Select a viable HostPool candidate from the NDF // Select a viable HostPool candidate from the NDF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment