From 4414f89f601cf7667d941bf41a9c32b3015f93f3 Mon Sep 17 00:00:00 2001 From: Alex Wu Date: Sat, 18 Jan 2025 16:37:39 +0800 Subject: [PATCH] fix linting problem Signed-off-by: Alex Wu --- flytepropeller/pkg/controller/nodes/resolve_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytepropeller/pkg/controller/nodes/resolve_test.go b/flytepropeller/pkg/controller/nodes/resolve_test.go index 5b2733311b..6ab119cd03 100644 --- a/flytepropeller/pkg/controller/nodes/resolve_test.go +++ b/flytepropeller/pkg/controller/nodes/resolve_test.go @@ -500,7 +500,7 @@ func TestResolveErrorInput(t *testing.T) { Message: "node failure", } expectedLiterals := make(map[string]*core.Literal, 1) - errorLiteral, _ := coreutils.MakeLiteral(&core.Error{Message: execErr.Message, FailedNodeId: nID}) + errorLiteral, _ := coreutils.MakeLiteral(&core.Error{Message: execErr.GetMessage(), FailedNodeId: nID}) expectedLiterals["err"] = &core.Literal{ Value: &core.Literal_Scalar{ Scalar: &core.Scalar{