diff --git a/pkg/cmd/codespace/create.go b/pkg/cmd/codespace/create.go index b94e66e87..4138e2771 100644 --- a/pkg/cmd/codespace/create.go +++ b/pkg/cmd/codespace/create.go @@ -488,10 +488,9 @@ func getRepoSuggestions(ctx context.Context, apiClient apiClient, partialSearch // buildDisplayName returns display name to be used in the machine survey prompt. // prebuildAvailability will be migrated to use enum values: "none", "ready", "in_progress" before Prebuild GA -// Enum values "blob" and "pool" will be deprecated soon. func buildDisplayName(displayName string, prebuildAvailability string) string { switch prebuildAvailability { - case "blob", "pool", "ready": + case "ready": return displayName + " (Prebuild ready)" case "in_progress": return displayName + " (Prebuild in progress)" diff --git a/pkg/cmd/codespace/create_test.go b/pkg/cmd/codespace/create_test.go index 641f0d332..b695d463d 100644 --- a/pkg/cmd/codespace/create_test.go +++ b/pkg/cmd/codespace/create_test.go @@ -490,16 +490,6 @@ func TestBuildDisplayName(t *testing.T) { prebuildAvailability string expectedDisplayName string }{ - { - name: "prebuild availability is pool", - prebuildAvailability: "pool", - expectedDisplayName: "4 cores, 8 GB RAM, 32 GB storage (Prebuild ready)", - }, - { - name: "prebuild availability is blob", - prebuildAvailability: "blob", - expectedDisplayName: "4 cores, 8 GB RAM, 32 GB storage (Prebuild ready)", - }, { name: "prebuild availability is none", prebuildAvailability: "none",