add token to the request when creating a cacheIntentions query (#14005)
This commit is contained in:
parent
815d1554c9
commit
c1ca9afdf2
|
@ -36,6 +36,7 @@ func (c cacheIntentions) Notify(ctx context.Context, req *structs.ServiceSpecifi
|
|||
},
|
||||
},
|
||||
},
|
||||
QueryOptions: structs.QueryOptions{Token: req.QueryOptions.Token},
|
||||
}
|
||||
return c.c.NotifyCallback(ctx, cachetype.IntentionMatchName, query, correlationID, func(ctx context.Context, event cache.UpdateEvent) {
|
||||
e := proxycfg.UpdateEvent{
|
||||
|
|
Loading…
Reference in New Issue