Skip to content

Commit b9176fe

Browse files
committed
chore: Remove unused method
1 parent 38df313 commit b9176fe

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/Testcontainers.Pulsar/PulsarBuilder.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -180,31 +180,5 @@ private async Task<bool> UntilAsync(PulsarContainer container)
180180
return await _httpWaitStrategy.UntilAsync(container)
181181
.ConfigureAwait(false);
182182
}
183-
184-
/// <summary>
185-
/// Determines whether the cluster is healthy or not.
186-
/// </summary>
187-
/// <param name="response">The HTTP response that contains the cluster information.</param>
188-
/// <returns>A value indicating whether the cluster is healthy or not.</returns>
189-
private static async Task<bool> IsClusterHealthyAsync(HttpResponseMessage response)
190-
{
191-
var jsonString = await response.Content.ReadAsStringAsync()
192-
.ConfigureAwait(false);
193-
194-
try
195-
{
196-
var status = JsonDocument.Parse(jsonString)
197-
.RootElement
198-
.EnumerateArray()
199-
.ElementAt(0)
200-
.GetString();
201-
202-
return "standalone".Equals(status);
203-
}
204-
catch
205-
{
206-
return false;
207-
}
208-
}
209183
}
210184
}

0 commit comments

Comments
 (0)