Skip to content

Commit fc5be30

Browse files
FZambiaatifali
andauthored
Do not subscribe to MQTT in SubsribeStream
Co-authored-by: Atif Shoukat Ali <[email protected]>
1 parent 039dd2a commit fc5be30

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/plugin/datasource.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ func (ds *MQTTDatasource) CheckHealth(_ context.Context, _ *backend.CheckHealthR
102102
}
103103

104104
func (ds *MQTTDatasource) SubscribeStream(_ context.Context, req *backend.SubscribeStreamRequest) (*backend.SubscribeStreamResponse, error) {
105-
ds.Client.Subscribe(req.Path)
106-
107105
return &backend.SubscribeStreamResponse{
108106
Status: backend.SubscribeStreamStatusOK,
109107
}, nil

0 commit comments

Comments
 (0)