Skip to content

Commit

Permalink
SLVS-1506 Fix typo in CreteConnectionInfoFromSharedBinding (#5739)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriela-trutan-sonarsource authored Oct 11, 2024
1 parent a6c2f9a commit 44ff43c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConnectedMode/UI/ManageBinding/ManageBindingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ internal void DetectSharedBinding()

internal async Task<AdapterResponse> UseSharedBindingAsync()
{
var connectionInfo = CreteConnectionInfoFromSharedBinding();
var connectionInfo = CreateConnectionInfoFromSharedBinding();
if (!ConnectionExists(connectionInfo, out var serverConnection) || !CredentialsExists(connectionInfo, serverConnection))
{
return new AdapterResponse(false);
Expand Down Expand Up @@ -320,7 +320,7 @@ private bool CredentialsExists(ConnectionInfo connectionInfo, ServerConnection s

}

private ConnectionInfo CreteConnectionInfoFromSharedBinding()
private ConnectionInfo CreateConnectionInfoFromSharedBinding()
{
return SharedBindingConfigModel.IsSonarCloud()
? new ConnectionInfo(SharedBindingConfigModel.Organization, ConnectionServerType.SonarCloud)
Expand Down

0 comments on commit 44ff43c

Please sign in to comment.