Skip to content

Commit 7aef43a

Browse files
authored
docs: fix comments (#204)
Signed-off-by: mikeee <hey@mike.ee>
1 parent 6951e58 commit 7aef43a

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

dapr/proto/runtime/v1/dapr.proto

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ message InvokeBindingRequest {
493493
//
494494
// Common metadata property:
495495
// - ttlInSeconds : the time to live in seconds for the message.
496+
//
496497
// If set in the binding definition will cause all messages to
497498
// have a default time to live. The message ttl overrides any value
498499
// in the binding definition.
@@ -839,11 +840,11 @@ message TryLockRequest {
839840
//
840841
// The reason why we don't make it automatically generated is:
841842
// 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response.
842-
// This name is so weird that we think it is inappropriate to put it into the api spec
843+
// This name is so weird that we think it is inappropriate to put it into the api spec
843844
// 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock,
844-
// we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
845+
// we find that in some lock services users can't get the current lock owner.Actually users don't need it at all.
845846
// 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock".
846-
// So this field in the request shouldn't be removed.
847+
// So this field in the request shouldn't be removed.
847848
string lock_owner = 3 [json_name = "lockOwner"];
848849

849850
// Required. The time before expiry.The time unit is second.
@@ -880,7 +881,7 @@ message SubtleGetKeyRequest {
880881
// JSON (JSON Web Key) as string
881882
JSON = 1;
882883
}
883-
884+
884885
// Name of the component
885886
string component_name = 1 [json_name="componentName"];
886887
// Name (or name/version) of the key to use in the key vault
@@ -1062,7 +1063,7 @@ message EncryptRequestOptions {
10621063
// If true, the encrypted document does not contain a key reference.
10631064
// In that case, calls to the Decrypt method must provide a key reference (name or name/version).
10641065
// Defaults to false.
1065-
bool omit_decryption_key_name = 11 [json_name="omitDecryptionKeyName"];
1066+
bool omit_decryption_key_name = 11 [json_name = "omitDecryptionKeyName"];
10661067
// Key reference to embed in the encrypted document (name or name/version).
10671068
// This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it.
10681069
// If unset, uses the reference of the key used to encrypt the document (this is the default behavior).
@@ -1211,14 +1212,14 @@ message Job {
12111212
// "0 15 3 * * *" - every day at 03:15
12121213
//
12131214
// Period string expressions:
1214-
// Entry | Description | Equivalent To
1215-
// ----- | ----------- | -------------
1215+
// Entry | Description | Equivalent To
1216+
// ----- | ----------- | -------------
12161217
// @every <duration> | Run every <duration> (e.g. '@every 1h30m') | N/A
1217-
// @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 *
1218-
// @monthly | Run once a month, midnight, first of month | 0 0 0 1 * *
1219-
// @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0
1220-
// @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * *
1221-
// @hourly | Run once an hour, beginning of hour | 0 0 * * * *
1218+
// @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 *
1219+
// @monthly | Run once a month, midnight, first of month | 0 0 0 1 * *
1220+
// @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0
1221+
// @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * *
1222+
// @hourly | Run once an hour, beginning of hour | 0 0 * * * *
12221223
optional string schedule = 2 [json_name = "schedule"];
12231224

12241225
// repeats is the optional number of times in which the job should be
@@ -1273,4 +1274,4 @@ message DeleteJobRequest {
12731274
// DeleteJobResponse is the message response to delete the job by name.
12741275
message DeleteJobResponse {
12751276
// Empty
1276-
}
1277+
}

0 commit comments

Comments
 (0)