Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Remove REQUIRED for boolean values
Setting REQUIRED on boolean values is misleading, as it may cause CSI implementers to think that the field must be present in the GRPC payload and that they should fail if it's not there, which is incorrect. As mentioned in the GRPC Proto3 docs: "note that if a scalar message field is set to its default, the value will not be serialized on the wire." This means that boolean fields will not be sent over the wire when their value is set to false. Making it impossible to know whether the GRPC message had the field set in the first place. This patch updates the comments to reflect the default value and removes the misleading REQUIRED notation.
- Loading branch information