// We intentionally do not consider destination changes when updating the cluster Revision. // Revision is used to rebuild routing endpoints which should be unrelated to destinations, // and destinations are the most likely to change. internal bool HasConfigChanged(ClusterConfig newClusterConfig) { return(!Options.EqualsExcludingDestinations(newClusterConfig.Options) || newClusterConfig.HttpClient != HttpClient); }
internal bool HasConfigChanged(ClusterConfig newClusterConfig) { return(!Options.Equals(newClusterConfig.Options)); }