Skip to content

Commit

Permalink
typof fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erm-g committed Oct 30, 2024
1 parent 9848f9b commit b9d34b9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ synchronized void addWatcher(Watcher watcher) {
sendLastTrustedRootsUpdate(watcher);
}
if (spiffeTrustMap != null) {
sendLastspiffeTrustMapUpdate(watcher);
sendLastSpiffeTrustMapUpdate(watcher);
}
}

Expand All @@ -90,7 +90,7 @@ private void sendLastTrustedRootsUpdate(Watcher watcher) {
watcher.updateTrustedRoots(trustedRoots);
}

private void sendLastspiffeTrustMapUpdate(Watcher watcher) {
private void sendLastSpiffeTrustMapUpdate(Watcher watcher) {
watcher.updateSpiffeTrustMap(spiffeTrustMap);
}

Expand Down Expand Up @@ -118,7 +118,7 @@ public synchronized void updateTrustedRoots(List<X509Certificate> trustedRoots)
public void updateSpiffeTrustMap(Map<String, List<X509Certificate>> spiffeTrustMap) {
this.spiffeTrustMap = spiffeTrustMap;
for (Watcher watcher : downstreamWatchers) {
sendLastspiffeTrustMapUpdate(watcher);
sendLastSpiffeTrustMapUpdate(watcher);
}
}

Expand Down

0 comments on commit b9d34b9

Please sign in to comment.