add token to the request when creating a cacheIntentions query (#14005)

This commit is contained in:
Dhia Ayachi 2022-08-02 14:27:34 -04:00 committed by GitHub
parent 815d1554c9
commit c1ca9afdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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{