Skip to content

Commit 5891b3f

Browse files
committed
Updated pr
1 parent 289ea80 commit 5891b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/opctl/cmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ def run(config: Dict, **kwargs) -> Dict:
170170
Dict
171171
dictionary of job id and run id in case of ML Job run, else empty if running locally
172172
"""
173-
p = ConfigProcessor(config).step(ConfigMerger, **kwargs)
174173
if config:
174+
p = ConfigProcessor(config).step(ConfigMerger, **kwargs)
175175
if p.config["kind"] != BACKEND_NAME.LOCAL.value and p.config["kind"] != "distributed":
176176
p.config["execution"]["backend"] = p.config["kind"]
177177
return _BackendFactory(p.config).backend.apply()

0 commit comments

Comments
 (0)