mhchia 3a42d72cd9
Fix a minor bug for pb optional field
In `Pubsub.continuously_read_stream`, it checks whether this is a
control message enclosed in RPC message with `if rpc_incoming.control:`.
However, in pb2, the condition is always true because a default value is
returned when a field is not set. Solved it by changing it to
`if rpc_incoming.HasField("control"):`.
2019-07-31 14:15:11 +08:00
..
2019-07-30 17:31:08 +08:00
2019-07-30 23:41:28 +08:00
2019-07-30 23:41:28 +08:00
2019-07-30 17:31:08 +08:00
2019-07-30 23:41:28 +08:00