From fbf0c3508a74678b4e0e9d6db10291f3a760455c Mon Sep 17 00:00:00 2001 From: Andrew Dye Date: Fri, 28 Jun 2024 08:39:50 -0700 Subject: [PATCH] Missing return Signed-off-by: Andrew Dye --- flytepropeller/pkg/apis/flyteworkflow/v1alpha1/branch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytepropeller/pkg/apis/flyteworkflow/v1alpha1/branch.go b/flytepropeller/pkg/apis/flyteworkflow/v1alpha1/branch.go index 8277bb0e65..eb1fd2a6c0 100644 --- a/flytepropeller/pkg/apis/flyteworkflow/v1alpha1/branch.go +++ b/flytepropeller/pkg/apis/flyteworkflow/v1alpha1/branch.go @@ -10,7 +10,7 @@ type BooleanExpression struct { } func (in BooleanExpression) MarshalJSON() ([]byte, error) { - utils.MarshalPbToBytes(in.BooleanExpression) + return utils.MarshalPbToBytes(in.BooleanExpression) } func (in *BooleanExpression) UnmarshalJSON(b []byte) error {