- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for currentLeaderRevision (0.14 sec)
-
pilot/pkg/leaderelection/leaderelection.go
return k8sleaderelection.NewLeaderElector(config) } func LocationPrioritizedComparison(currentLeaderRevision string, l *LeaderElection) bool { var currentLeaderRemote bool if currentLeaderRemote = strings.HasPrefix(currentLeaderRevision, remoteIstiodPrefix); currentLeaderRemote { currentLeaderRevision = strings.TrimPrefix(currentLeaderRevision, remoteIstiodPrefix) } defaultRevision := l.defaultWatcher.GetDefault()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
close(stop4) close(stop3) close(stop2) close(stop) } func SimpleRevisionComparison(currentLeaderRevision string, l *LeaderElection) bool { // Old key comparison impl for interoperablilty testing defaultRevision := l.defaultWatcher.GetDefault() return l.revision != currentLeaderRevision && // empty default revision indicates that there is no default set defaultRevision != "" && defaultRevision == l.revision
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0)