diff --git a/Vostok.ServiceDiscovery/IReplicaInfoBuilder.cs b/Vostok.ServiceDiscovery/IReplicaInfoBuilder.cs
index 8b73a87..a2e301c 100644
--- a/Vostok.ServiceDiscovery/IReplicaInfoBuilder.cs
+++ b/Vostok.ServiceDiscovery/IReplicaInfoBuilder.cs
@@ -74,7 +74,7 @@ public interface IReplicaInfoBuilder
/// Default value: null
/// Should not be called in conjunction with .
///
- IReplicaInfoBuilder SetupHostnameProvider([CanBeNull] Func hostNameProvider);
+ IReplicaInfoBuilder SetHostnameProvider([CanBeNull] Func hostNameProvider);
///
/// Sets build commit hash.
diff --git a/Vostok.ServiceDiscovery/PublicAPI.Unshipped.txt b/Vostok.ServiceDiscovery/PublicAPI.Unshipped.txt
index 0eda7e1..09c08a7 100644
--- a/Vostok.ServiceDiscovery/PublicAPI.Unshipped.txt
+++ b/Vostok.ServiceDiscovery/PublicAPI.Unshipped.txt
@@ -1 +1 @@
-Vostok.ServiceDiscovery.IReplicaInfoBuilder.SetupHostnameProvider(System.Func hostNameProvider) -> Vostok.ServiceDiscovery.IReplicaInfoBuilder
\ No newline at end of file
+Vostok.ServiceDiscovery.IReplicaInfoBuilder.SetHostnameProvider(System.Func hostNameProvider) -> Vostok.ServiceDiscovery.IReplicaInfoBuilder
\ No newline at end of file
diff --git a/Vostok.ServiceDiscovery/ReplicaInfoBuilder.cs b/Vostok.ServiceDiscovery/ReplicaInfoBuilder.cs
index aa7fc4b..c269660 100644
--- a/Vostok.ServiceDiscovery/ReplicaInfoBuilder.cs
+++ b/Vostok.ServiceDiscovery/ReplicaInfoBuilder.cs
@@ -173,7 +173,7 @@ public IReplicaInfoBuilder SetUrlPath(string path)
return this;
}
- public IReplicaInfoBuilder SetupHostnameProvider(Func hostNameProvider)
+ public IReplicaInfoBuilder SetHostnameProvider(Func hostNameProvider)
{
this.hostNameProvider = hostNameProvider;
return this;