From dcf199dab9d11b86454028869a54d77a474fc4a6 Mon Sep 17 00:00:00 2001 From: Skye Gill Date: Mon, 6 Feb 2023 14:19:38 +0000 Subject: [PATCH] fix: set ResolveObject reason (#375) ## This PR - Reinstate setting of ResolveObject's reason Discovered as [integration tests PR](https://github.com/open-feature/flagd/pull/312) started failing. In future this kind of thing will be picked up as a pipeline failure (all the more reason to get to the bottom of the snyk security issue). ### Related Issues ### Notes ### Follow-up Tasks ### How to test Signed-off-by: Skye Gill --- pkg/service/connect_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/service/connect_service.go b/pkg/service/connect_service.go index f13a1d7d4..69c5db05c 100644 --- a/pkg/service/connect_service.go +++ b/pkg/service/connect_service.go @@ -405,6 +405,7 @@ func (s *ConnectService) ResolveObject( variant, reason, )) + res.Msg.Reason = reason res.Msg.Value = val res.Msg.Variant = variant return res, nil