Skip to content

Commit 8d4128b

Browse files
authored
fix PAPI conversion (#18722)
1 parent 7fa1b2d commit 8d4128b

File tree

4 files changed

+100
-97
lines changed

4 files changed

+100
-97
lines changed

components/gitpod-protocol/go/gitpod-service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ type Project struct {
22512251
}
22522252

22532253
type ProjectSettings struct {
2254-
EnablePrebuilds bool `json:"enablePrebuilds,omitempty"`
2254+
EnablePrebuilds *bool `json:"enablePrebuilds,omitempty"`
22552255
UseIncrementalPrebuilds bool `json:"useIncrementalPrebuilds,omitempty"`
22562256
UsePersistentVolumeClaim bool `json:"usePersistentVolumeClaim,omitempty"`
22572257
KeepOutdatedPrebuildsRunning bool `json:"keepOutdatedPrebuildsRunning,omitempty"`

components/public-api/gitpod/experimental/v1/projects.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ message PrebuildSettings {
4747
bool keep_outdated_prebuilds_running = 2;
4848
bool use_previous_prebuilds = 3;
4949
int32 prebuild_every_nth = 4;
50-
bool enable_prebuilds = 5;
50+
optional bool enable_prebuilds = 5;
5151
}
5252

5353
message WorkspaceSettings {

0 commit comments

Comments
 (0)