Skip to content

Commit 348d19d

Browse files
authored
chore: use spaces over tabs in proto files (#18269)
1 parent d47a53d commit 348d19d

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

provisionerd/proto/provisionerd.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ message UpdateJobRequest {
130130
repeated provisioner.TemplateVariable template_variables = 4;
131131
repeated provisioner.VariableValue user_variable_values = 5;
132132
bytes readme = 6;
133-
map<string,string> workspace_tags = 7;
133+
map<string,string> workspace_tags = 7;
134134
}
135135

136136
message UpdateJobResponse {

provisionersdk/proto/provisioner.proto

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ message RichParameterValue {
7676
// If a prebuild remains unclaimed for longer than ttl seconds, it is deleted and
7777
// recreated to prevent staleness.
7878
message ExpirationPolicy {
79-
int32 ttl = 1;
79+
int32 ttl = 1;
8080
}
8181

8282
message Prebuild {
8383
int32 instances = 1;
84-
ExpirationPolicy expiration_policy = 2;
84+
ExpirationPolicy expiration_policy = 2;
8585
}
8686

8787
// Preset represents a set of preset parameters for a template version.
@@ -153,7 +153,7 @@ message Agent {
153153
string id = 1;
154154
string name = 2;
155155
map<string, string> env = 3;
156-
// Field 4 was startup_script, now removed.
156+
// Field 4 was startup_script, now removed.
157157
string operating_system = 5;
158158
string architecture = 6;
159159
string directory = 7;
@@ -166,16 +166,16 @@ message Agent {
166166
string troubleshooting_url = 12;
167167
string motd_file = 13;
168168
// Field 14 was bool login_before_ready = 14, now removed.
169-
// Field 15, 16, 17 were related to scripts, which are now removed.
169+
// Field 15, 16, 17 were related to scripts, which are now removed.
170170
repeated Metadata metadata = 18;
171-
// Field 19 was startup_script_behavior, now removed.
171+
// Field 19 was startup_script_behavior, now removed.
172172
DisplayApps display_apps = 20;
173-
repeated Script scripts = 21;
174-
repeated Env extra_envs = 22;
175-
int64 order = 23;
176-
ResourcesMonitoring resources_monitoring = 24;
177-
repeated Devcontainer devcontainers = 25;
178-
string api_key_scope = 26;
173+
repeated Script scripts = 21;
174+
repeated Env extra_envs = 22;
175+
int64 order = 23;
176+
ResourcesMonitoring resources_monitoring = 24;
177+
repeated Devcontainer devcontainers = 25;
178+
string api_key_scope = 26;
179179
}
180180

181181
enum AppSharingLevel {
@@ -185,19 +185,19 @@ enum AppSharingLevel {
185185
}
186186

187187
message ResourcesMonitoring {
188-
MemoryResourceMonitor memory = 1;
189-
repeated VolumeResourceMonitor volumes = 2;
188+
MemoryResourceMonitor memory = 1;
189+
repeated VolumeResourceMonitor volumes = 2;
190190
}
191191

192192
message MemoryResourceMonitor {
193-
bool enabled = 1;
194-
int32 threshold = 2;
193+
bool enabled = 1;
194+
int32 threshold = 2;
195195
}
196196

197197
message VolumeResourceMonitor {
198-
string path = 1;
199-
bool enabled = 2;
200-
int32 threshold = 3;
198+
string path = 1;
199+
bool enabled = 2;
200+
int32 threshold = 3;
201201
}
202202

203203
message DisplayApps {
@@ -209,27 +209,27 @@ message DisplayApps {
209209
}
210210

211211
message Env {
212-
string name = 1;
213-
string value = 2;
212+
string name = 1;
213+
string value = 2;
214214
}
215215

216216
// Script represents a script to be run on the workspace.
217217
message Script {
218-
string display_name = 1;
219-
string icon = 2;
220-
string script = 3;
221-
string cron = 4;
222-
bool start_blocks_login = 5;
223-
bool run_on_start = 6;
224-
bool run_on_stop = 7;
225-
int32 timeout_seconds = 8;
226-
string log_path = 9;
218+
string display_name = 1;
219+
string icon = 2;
220+
string script = 3;
221+
string cron = 4;
222+
bool start_blocks_login = 5;
223+
bool run_on_start = 6;
224+
bool run_on_stop = 7;
225+
int32 timeout_seconds = 8;
226+
string log_path = 9;
227227
}
228228

229229
message Devcontainer {
230-
string workspace_folder = 1;
231-
string config_path = 2;
232-
string name = 3;
230+
string workspace_folder = 1;
231+
string config_path = 2;
232+
string name = 3;
233233
}
234234

235235
enum AppOpenIn {
@@ -308,9 +308,9 @@ message RunningAgentAuthToken {
308308
string token = 2;
309309
}
310310
enum PrebuiltWorkspaceBuildStage {
311-
NONE = 0; // Default value for builds unrelated to prebuilds.
312-
CREATE = 1; // A prebuilt workspace is being provisioned.
313-
CLAIM = 2; // A prebuilt workspace is being claimed.
311+
NONE = 0; // Default value for builds unrelated to prebuilds.
312+
CREATE = 1; // A prebuilt workspace is being provisioned.
313+
CLAIM = 2; // A prebuilt workspace is being claimed.
314314
}
315315

316316
// Metadata is information about a workspace used in the execution of a build

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy