Skip to content

Commit b44474c

Browse files
committed
Revert rename for ports cmd
1 parent bdc9ad3 commit b44474c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/codespace/ports.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ type portAttribute struct {
114114
Label string `json:"label"`
115115
}
116116

117-
func getDevContainer(ctx context.Context, apiClient apiClient, cs *api.Codespace) <-chan devContainerResult {
117+
func getDevContainer(ctx context.Context, apiClient apiClient, codespace *api.Codespace) <-chan devContainerResult {
118118
ch := make(chan devContainerResult, 1)
119119
go func() {
120-
contents, err := apiClient.GetCodespaceRepositoryContents(ctx, cs, ".devcontainer/devcontainer.json")
120+
contents, err := apiClient.GetCodespaceRepositoryContents(ctx, codespace, ".devcontainer/devcontainer.json")
121121
if err != nil {
122122
ch <- devContainerResult{nil, fmt.Errorf("error getting content: %w", err)}
123123
return

0 commit comments

Comments
 (0)