Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
devantler committed Sep 22, 2024
1 parent 87754cd commit 7f0f041
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Devantler.KindCLI" Version="0.0.3" />
<PackageReference Include="Devantler.KindCLI" Version="0.0.5" />
<PackageReference Include="Docker.DotNet" Version="3.125.15" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public async Task DeprovisionAsync(string clusterName, CancellationToken cancell
/// <inheritdoc />
public async Task<bool> ExistsAsync(string clusterName, CancellationToken cancellationToken)
{
string[] clusterNames = await KindCLI.Kind.ListClustersAsync(cancellationToken).ConfigureAwait(false);
string[] clusterNames = await ListAsync(cancellationToken).ConfigureAwait(false);
return clusterNames.Contains(clusterName);
}

/// <inheritdoc />
public async Task<string[]> ListAsync(CancellationToken cancellationToken) =>
await KindCLI.Kind.ListClustersAsync(cancellationToken).ConfigureAwait(false);
await KindCLI.Kind.GetClustersAsync(cancellationToken).ConfigureAwait(false);

/// <inheritdoc />
public async Task ProvisionAsync(string clusterName, string configPath, CancellationToken cancellationToken) =>
Expand Down

0 comments on commit 7f0f041

Please sign in to comment.