Skip to content

Commit 3cb3cf7

Browse files
committed
make ListOpensshConfig private
1 parent 96a2e12 commit 3cb3cf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/codespace/ssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func (a *App) SSH(ctx context.Context, sshArgs []string, opts sshOptions) (err e
156156
}
157157
}
158158

159-
func (a *App) ListOpensshConfig(ctx context.Context, opts configOptions) error {
159+
func (a *App) listOpensshConfig(ctx context.Context, opts configOptions) error {
160160
// Ensure all child tasks (e.g. port forwarding) terminate before return.
161161
ctx, cancel := context.WithCancel(ctx)
162162
defer cancel()
@@ -402,7 +402,7 @@ func newConfigCmd(app *App) *cobra.Command {
402402
$ echo 'include ~/.ssh/codespaces' >> ~/.ssh/config'
403403
`),
404404
RunE: func(cmd *cobra.Command, args []string) error {
405-
return app.ListOpensshConfig(cmd.Context(), opts)
405+
return app.listOpensshConfig(cmd.Context(), opts)
406406
},
407407
DisableFlagsInUseLine: true,
408408
}

0 commit comments

Comments
 (0)