]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cephadm/tests/test_agent.py
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / cephadm / tests / test_agent.py
index f579729405a891b87fa387590499fc81bf1a1ec0..f9cf201e27527f3e7deebbbff6dafd235e54c7d7 100644 (file)
@@ -433,8 +433,8 @@ def test_agent_run(_pull_conf_settings, _port_in_use, _gatherer_start,
     host = AGENT_ID
     device_enhanced_scan = False
 
-    def _fake_port_in_use(ctx, port):
-        if port == open_listener_port:
+    def _fake_port_in_use(ctx, endpoint):
+        if endpoint.port == open_listener_port:
             return False
         return True