From 757d43c7fde3eda90cfe014f9b24f0812b6571ae Mon Sep 17 00:00:00 2001 From: Alexey Volkov Date: Wed, 24 Jun 2020 11:42:46 -0700 Subject: [PATCH] SDK - Compiler - Fixed error message (#4053) Fixes https://github.com/kubeflow/pipelines/issues/4021 --- sdk/python/kfp/compiler/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/kfp/compiler/compiler.py b/sdk/python/kfp/compiler/compiler.py index ec6bf520258..1e970a52495 100644 --- a/sdk/python/kfp/compiler/compiler.py +++ b/sdk/python/kfp/compiler/compiler.py @@ -154,7 +154,7 @@ def _get_uncommon_ancestors(self, op_groups, opsgroup_groups, op1, op2): elif op2.name in opsgroup_groups: op2_groups = opsgroup_groups[op2.name] else: - raise ValueError(op1.name + ' does not exist.') + raise ValueError(op2.name + ' does not exist.') both_groups = [op1_groups, op2_groups] common_groups_len = sum(1 for x in zip(*both_groups) if x==(x[0],)*len(x))