Drop unused locationResult
This commit is contained in:
parent
41719f7624
commit
4aca945e2e
1 changed files with 0 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue