From 3cb3cf7ca5ec7c10fa5b1e5552e7014b828a7ab6 Mon Sep 17 00:00:00 2001 From: Jason Lunz Date: Thu, 16 Dec 2021 16:38:47 -0700 Subject: [PATCH] make ListOpensshConfig private --- pkg/cmd/codespace/ssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/codespace/ssh.go b/pkg/cmd/codespace/ssh.go index 153cb884c..5e9b99ef8 100644 --- a/pkg/cmd/codespace/ssh.go +++ b/pkg/cmd/codespace/ssh.go @@ -156,7 +156,7 @@ func (a *App) SSH(ctx context.Context, sshArgs []string, opts sshOptions) (err e } } -func (a *App) ListOpensshConfig(ctx context.Context, opts configOptions) error { +func (a *App) listOpensshConfig(ctx context.Context, opts configOptions) error { // Ensure all child tasks (e.g. port forwarding) terminate before return. ctx, cancel := context.WithCancel(ctx) defer cancel() @@ -402,7 +402,7 @@ func newConfigCmd(app *App) *cobra.Command { $ echo 'include ~/.ssh/codespaces' >> ~/.ssh/config' `), RunE: func(cmd *cobra.Command, args []string) error { - return app.ListOpensshConfig(cmd.Context(), opts) + return app.listOpensshConfig(cmd.Context(), opts) }, DisableFlagsInUseLine: true, }