From 8f84439bf5d2af9b14a8ce1949d980177146a773 Mon Sep 17 00:00:00 2001 From: Mariano Pinto Date: Fri, 17 Nov 2023 14:22:21 +0000 Subject: [PATCH] remove unused statement --- pubsub.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pubsub.go b/pubsub.go index 539f7db..22fd291 100644 --- a/pubsub.go +++ b/pubsub.go @@ -42,14 +42,6 @@ func (ps *PubSub) Publisher(config map[string]interface{}) *pubsub.Client { } func (ps *PubSub) Publish(ctx context.Context, p *pubsub.Client, topic, msg string) error { - //state := lib.GetScenarioState(ctx) - // - //if state == nil { - // err := errors.New("xk6-pubsub: state is nil") - // ReportError(err, "cannot determine state") - // return err - //} - t := p.Topic(topic) r := t.Publish( ctx,