Update eventHubs.go for lint fix ST1023:

Signed-off-by: mecoding1 <118708378+mecoding1@users.noreply.github.com>
This commit is contained in:
mecoding1 2022-11-22 11:16:48 +05:30
parent a669c4733b
commit 9e51ac90e4
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ func (aeh *AzureEventHubs) Subscribe(subscribeCtx context.Context, req pubsub.Su
return err
}
var getAllProperties bool = false
var getAllProperties = false
if req.Metadata[requireAllProperties] != ""{
getAllProperties, err = strconv.ParseBool(req.Metadata[requireAllProperties])
if err!=nil{