mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
[autoscaler] Fix logging regression (#10280)
This commit is contained in:
@@ -487,8 +487,9 @@ class StandardAutoscaler:
|
||||
resources: Either a list of resource bundles or a single resource
|
||||
demand dictionary.
|
||||
"""
|
||||
logger.info(
|
||||
"StandardAutoscaler: resource_requests={}".format(resources))
|
||||
if resources:
|
||||
logger.info(
|
||||
"StandardAutoscaler: resource_requests={}".format(resources))
|
||||
if isinstance(resources, list):
|
||||
self.resource_demand_vector = resources
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user