From 78dd8f57b7c2ef1c144208b8500b5c24bb29771d Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 3 Oct 2024 15:58:05 +0200 Subject: [PATCH] revert context change to pkg/protobufs --- pkg/protobufs/plugin_interface.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/protobufs/plugin_interface.go b/pkg/protobufs/plugin_interface.go index baa76c8941c..fc89b2fa009 100644 --- a/pkg/protobufs/plugin_interface.go +++ b/pkg/protobufs/plugin_interface.go @@ -24,12 +24,12 @@ type NotifierPlugin struct { type GRPCClient struct{ client NotifierClient } func (m *GRPCClient) Notify(ctx context.Context, notification *Notification) (*Empty, error) { - _, err := m.client.Notify(ctx, notification) + _, err := m.client.Notify(context.Background(), notification) return &Empty{}, err } func (m *GRPCClient) Configure(ctx context.Context, config *Config) (*Empty, error) { - _, err := m.client.Configure(ctx, config) + _, err := m.client.Configure(context.Background(), config) return &Empty{}, err }