We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a4342 commit 86b41b2Copy full SHA for 86b41b2
src/dstack/_internal/server/services/pools.py
@@ -375,6 +375,9 @@ def filter_pool_instances(
375
if profile.backends is not None and instance.backend not in profile.backends:
376
continue
377
378
+ if profile.regions is not None and instance.region not in profile.regions:
379
+ continue
380
+
381
if multinode and instance.backend not in BACKENDS_WITH_MULTINODE_SUPPORT:
382
383
0 commit comments