Skip to content

Commit 6ba254a

Browse files
fix typo
1 parent 0fc4c90 commit 6ba254a

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,25 @@ steps:
2626
command:
2727
- |-
2828
make proto-lint
29+
30+
- label: "thrift compile"
31+
agents:
32+
queue: "buildkite-gcp"
33+
plugins:
34+
- kubernetes:
35+
<<: *kubernetes
36+
podSpec:
37+
<<: *podSpec
38+
containers:
39+
- <<: *commandContainer
40+
command:
41+
- |-
42+
# Install thrift compiler
43+
apt-get update && apt-get install -y thrift-compiler
44+
# Compile all thrift files to check for syntax errors
45+
cd thrift
46+
for file in *.thrift; do
47+
echo "Compiling $file..."
48+
thrift --gen go "$file"
49+
done
50+
echo "All Thrift files compiled successfully!"

thrift/shared.thrift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ struct FailoverEvent {
12621262
// Can be passed with the ID to fetch a specific event.
12631263
20: optional i64 (js.type = "Long") createdTime
12641264
30: optional FailoverType failoverType
1265-
40: optional List<ClusterFailover> clusterFailovers
1265+
40: optional list<ClusterFailover> clusterFailovers
12661266
}
12671267

12681268
struct ClusterFailover {

0 commit comments

Comments
 (0)