Fix errors
This commit is contained in:
parent
76090a2ea7
commit
83a9b87397
2 changed files with 4 additions and 2 deletions
|
|
@ -60,7 +60,8 @@ func PollPostCreateStates(ctx context.Context, progress progressIndicator, apiCl
|
|||
|
||||
progress.StartProgressIndicatorWithLabel("Fetching SSH Details")
|
||||
defer progress.StopProgressIndicator()
|
||||
remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx)
|
||||
// TODO: This shouldn't care about the key
|
||||
remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx, "")
|
||||
if err != nil {
|
||||
return fmt.Errorf("error getting ssh server details: %w", err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@ func (a *App) Logs(ctx context.Context, codespaceName string, follow bool) (err
|
|||
localPort := listen.Addr().(*net.TCPAddr).Port
|
||||
|
||||
a.StartProgressIndicatorWithLabel("Fetching SSH Details")
|
||||
remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx)
|
||||
// TODO: This shouldn't care about the key
|
||||
remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx, "")
|
||||
a.StopProgressIndicator()
|
||||
if err != nil {
|
||||
return fmt.Errorf("error getting ssh server details: %w", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue