Skip to content

Commit

Permalink
resovle conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Yacob <marcosyacob@gmail.com>
  • Loading branch information
MarcosDY committed Sep 27, 2024
1 parent 63722fc commit 0675270
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pkg/agent/manager/cache/lru_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ type UpdateEntries struct {
// Bundles is a set of ALL trust bundles available to the agent, keyed by trust domain
Bundles map[spiffeid.TrustDomain]*spiffebundle.Bundle

// TaintedX509Authorities is a set of all tainted X.509 authorities notified by the server.
TaintedX509Authorities []string

// TaintedJWTAuthorities is a set of all tainted JWT authorities notified by the server.
TaintedJWTAuthorities []string

// RegistrationEntries is a set of all registration entries available to the
// agent, keyed by registration entry id.
RegistrationEntries map[string]*common.RegistrationEntry
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/manager/cache/lru_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ func TestTaintX509SVIDs(t *testing.T) {
batchProcessedCh := make(chan struct{}, 1)

// Initialize cache with configuration
cache := newTestLRUCacheWithConfig(10, clk)
cache := newTestLRUCacheWithConfig(clk)
cache.processingBatchSize = 4
cache.log = log
cache.taintedBatchProcessedCh = batchProcessedCh
Expand Down

0 comments on commit 0675270

Please sign in to comment.