From 5a68b3f6c3bad4848473c40813cd750a19f3aba3 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 9 Dec 2024 08:53:01 -0500 Subject: [PATCH] test Signed-off-by: Wei Liu --- cmd/maestro/server/pulse_server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/maestro/server/pulse_server.go b/cmd/maestro/server/pulse_server.go index 1e4d9622..e958fe95 100644 --- a/cmd/maestro/server/pulse_server.go +++ b/cmd/maestro/server/pulse_server.go @@ -314,8 +314,9 @@ func handleStatusUpdate(ctx context.Context, resource *api.Resource, resourceSer // if the resource has been deleted from agent, create status event and delete it from maestro if meta.IsStatusConditionTrue(statusPayload.Conditions, common.ManifestsDeleted) { - println("===========") + println("found payload") println(found.Payload) + _, sErr := statusEventService.Create(ctx, &api.StatusEvent{ ResourceID: resource.ID, ResourceSource: resource.Source,