Skip to content

Commit

Permalink
Pass str instead of cloud to from_cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
euclidgame committed Nov 15, 2024
1 parent dc71860 commit 09ac4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _remove_storage_nodes_and_move_to_edge_attributes(
if storage_node.best_resources is not None:
assert storage_node.best_resources.cloud is not None
storage_type = StoreType.from_cloud(
storage_node.best_resources.cloud)
str(storage_node.best_resources.cloud))
task_edge.best_storage = (
storage_type, storage_node.best_resources.region)

Expand Down

0 comments on commit 09ac4fe

Please sign in to comment.