11896: Add integration test coverage for gce and aws drivers. Handle disk=None from...
[arvados.git] / services / nodemanager / arvnodeman / nodelist.py
index 7bc3a5ebd2a983bb798c1fda16367ebe911ff158..4faa8ffbf30604aa382006e8eed528af9e86d08e 100644 (file)
@@ -64,7 +64,7 @@ class CloudNodeListMonitorActor(clientactor.RemotePollLoopActor):
         self._calculator = server_calc
 
     def is_common_error(self, exception):
-        return self._client.is_cloud_exception(exception)
+        return isinstance(exception, config.CLOUD_ERRORS)
 
     def _item_key(self, node):
         return node.id