Remove TODOs

This commit is contained in:
cmbrose 2022-06-03 14:05:24 -05:00
parent 2310795b3f
commit ce3a1323ed
2 changed files with 0 additions and 2 deletions

View file

@ -56,7 +56,6 @@ func NewRemoteCommand(ctx context.Context, tunnelPort int, destination string, s
// newSSHCommand populates an exec.Cmd to run a command (or if blank,
// an interactive shell) over ssh.
func newSSHCommand(ctx context.Context, port int, dst string, cmdArgs []string) (*exec.Cmd, []string, error) {
// TODO: Read SSH key from ~/.ssh/codespace and pass as argument with -i
connArgs := []string{"-p", strconv.Itoa(port), "-o", "NoHostAuthenticationForLocalhost=yes"}
// The ssh command syntax is: ssh [flags] user@host command [args...]

View file

@ -60,7 +60,6 @@ func PollPostCreateStates(ctx context.Context, progress progressIndicator, apiCl
progress.StartProgressIndicatorWithLabel("Fetching SSH Details")
defer progress.StopProgressIndicator()
// 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)