From 4aca945e2e05d15bcc772b7ab837e7dcb595b5a0 Mon Sep 17 00:00:00 2001 From: Jake Shorty Date: Tue, 5 Apr 2022 20:27:10 +0000 Subject: [PATCH] Drop unused locationResult --- pkg/cmd/codespace/create.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/cmd/codespace/create.go b/pkg/cmd/codespace/create.go index 5da87f240..b0f0b6b9c 100644 --- a/pkg/cmd/codespace/create.go +++ b/pkg/cmd/codespace/create.go @@ -288,11 +288,6 @@ func (a *App) showStatus(ctx context.Context, codespace *api.Codespace) error { return nil } -type locationResult struct { - Location string - Err error -} - // getMachineName prompts the user to select the machine type, or validates the machine if non-empty. func getMachineName(ctx context.Context, apiClient apiClient, repoID int, machine, branch, location string) (string, error) { machines, err := apiClient.GetCodespacesMachines(ctx, repoID, branch, location)