6520: Add testcase using sinfo to set crunch_worker_state
[arvados.git] / services / nodemanager / arvnodeman / nodelist.py
index 6d436bee52cd3ea864c8fa1d2e16a46d1c0a0526..5b02fde0ceffa9f9a42118ac148474e34e7f4657 100644 (file)
@@ -23,7 +23,7 @@ class ArvadosNodeListMonitorActor(clientactor.RemotePollLoopActor):
         return node['uuid']
 
     def _send_request(self):
-        nodelist = arvados.util.list_all(self._client.nodes)
+        nodelist = arvados.util.list_all(self._client.nodes().list)
 
         # node hostname, state
         sinfo_out = subprocess.check_output(["sinfo", "--noheader", "--format=%n %t"])