Skip to content

Commit

Permalink
Fixed checking for connection
Browse files Browse the repository at this point in the history
  • Loading branch information
garrynewman committed Jun 3, 2020
1 parent b2ec61a commit 5aae0af
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions UI/DirectorPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,6 @@ bool PatchComposer( LogWindow log )

bool PatchDirector( LogWindow log )
{
if ( MainWindow.ConnectedDirector == null )
{
log.WriteNormal( $"Skipping director patch because we're not connected" );
return false;
}

var SshConnectionInfo = new ConnectionInfo( Address.Text.ToString(), Username.Text, new PasswordAuthenticationMethod( Username.Text, Password.Text ) );
SshConnectionInfo.RetryAttempts = 1;
SshConnectionInfo.Timeout = TimeSpan.FromSeconds( 2 );
Expand Down

0 comments on commit 5aae0af

Please sign in to comment.