bin/x86_64-macos/google/protobuf/duration.proto in grpc-tools-1.26.0 vs bin/x86_64-macos/google/protobuf/duration.proto in grpc-tools-1.27.0.pre1
- old
+ new
@@ -59,10 +59,10 @@
// duration.nanos = end.nanos - start.nanos;
//
// if (duration.seconds < 0 && duration.nanos > 0) {
// duration.seconds += 1;
// duration.nanos -= 1000000000;
-// } else if (durations.seconds > 0 && duration.nanos < 0) {
+// } else if (duration.seconds > 0 && duration.nanos < 0) {
// duration.seconds -= 1;
// duration.nanos += 1000000000;
// }
//
// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.