Skip to content

Commit

Permalink
fix: refactored ReplicaInfoBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
kulbachnyi.v committed Dec 28, 2023
1 parent fd161de commit bf5543a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Vostok.ServiceDiscovery/IReplicaInfoBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public interface IReplicaInfoBuilder
/// <para>Default value: <c>null</c></para>
/// <para>Should not be called in conjunction with <see cref="SetUrl"/>.</para>
/// </summary>
IReplicaInfoBuilder SetupHostnameProvider([CanBeNull] Func<bool, string> hostNameProvider);
IReplicaInfoBuilder SetHostnameProvider([CanBeNull] Func<bool, string> hostNameProvider);

/// <summary>
/// <para>Sets build commit hash.</para>
Expand Down
2 changes: 1 addition & 1 deletion Vostok.ServiceDiscovery/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Vostok.ServiceDiscovery.IReplicaInfoBuilder.SetupHostnameProvider(System.Func<bool, string> hostNameProvider) -> Vostok.ServiceDiscovery.IReplicaInfoBuilder
Vostok.ServiceDiscovery.IReplicaInfoBuilder.SetHostnameProvider(System.Func<bool, string> hostNameProvider) -> Vostok.ServiceDiscovery.IReplicaInfoBuilder
2 changes: 1 addition & 1 deletion Vostok.ServiceDiscovery/ReplicaInfoBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public IReplicaInfoBuilder SetUrlPath(string path)
return this;
}

public IReplicaInfoBuilder SetupHostnameProvider(Func<bool, string> hostNameProvider)
public IReplicaInfoBuilder SetHostnameProvider(Func<bool, string> hostNameProvider)
{
this.hostNameProvider = hostNameProvider;
return this;
Expand Down

0 comments on commit bf5543a

Please sign in to comment.