File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
services/director/src/simcore_service_director Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -416,10 +416,11 @@ async def list_interactive_service_dependencies(
416416 if DEPENDENCIES_LABEL_KEY in image_labels :
417417 try :
418418 dependencies = json .loads (image_labels [DEPENDENCIES_LABEL_KEY ])
419- for dependency in dependencies :
420- dependency_keys .append (
421- {"key" : dependency ["key" ], "tag" : dependency ["tag" ]}
422- )
419+ dependency_keys = [
420+ {"key" : dependency ["key" ], "tag" : dependency ["tag" ]}
421+ for dependency in dependencies
422+ ]
423+
423424 except json .decoder .JSONDecodeError :
424425 logging .exception (
425426 "Incorrect json formatting in %s, skipping..." ,
@@ -525,7 +526,6 @@ async def get_service_extras(
525526 invalid_with_msg = f"invalid type for resource [{ entry_value } ]"
526527
527528 # discrete resources (custom made ones) ---
528- # TODO: this could be adjusted to separate between GPU and/or VRAM
529529 # check if the service requires GPU support
530530 if not invalid_with_msg and _validate_kind (entry , "VRAM" ):
531531
You can’t perform that action at this time.
0 commit comments