Skip to content

Commit b2ec755

Browse files
committed
fix get dataset error in dataflow run function
Signed-off-by: ZhangXiaozheng <zhang__xiaozheng@outlook.com>
1 parent b594736 commit b2ec755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluid/api/fluid_dataflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def run(self, run_id, ttl_seconds_after_finished=constants.DEFAULT_DATAFLOW_TIME
224224
The FlowHandle object which may track the flow's status.
225225
"""
226226
try:
227-
dataset = self.fluid_client.get_dataset(self.dataset_name)
227+
dataset = self.fluid_client.get_dataset(self.dataset_name, self.dataset_namespace)
228228
except Exception as e:
229229
raise RuntimeError(f"failed to get dataset {self.dataset_name}: {e}")
230230

0 commit comments

Comments
 (0)