Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit149ab72

Browse files
committed
rename hash field
1 parent4bb4283 commit149ab72

File tree

3 files changed

+81
-72
lines changed

3 files changed

+81
-72
lines changed

‎provisionersdk/proto/provisioner.pb.go

Lines changed: 67 additions & 64 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎provisionersdk/proto/provisioner.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ message DataUpload {
450450
DataUploadTypeupload_type=1;
451451
// data_hash is the sha256 of the payload to be uploaded.
452452
// This is also used to uniquely identify the upload.
453-
stringdata_hash=2;
453+
bytesdata_hash=2;
454454
// file_size is the total size of the data being uploaded.
455455
int64file_size=3;
456456
// Number of chunks to be uploaded.
@@ -461,7 +461,9 @@ message DataUpload {
461461
messageChunkPiece {
462462
bytesdata=1;
463463
stringupload_type=2;
464-
stringdata_hash=3;
464+
// full_data_hash should match the hash from the original
465+
// DataUpload message
466+
bytesfull_data_hash=3;
465467
int32piece_index=4;
466468
}
467469

‎site/e2e/provisionerGenerated.ts

Lines changed: 10 additions & 6 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp