This is a very minor "bug". According to the documentation for gomock arguments, interfaces is required if source is unset, and ignored if it is. Despite being ignored, it's still a mandatory attribute when source is set. Removing it from
here results in the following error.
ERROR: /Users/irfansharif/Software/src/github.com/cockroachdb/cockroach/pkg/kv/kvclient/rangefeed/BUILD.bazel:30:7: //pkg/kv/kvclient/rangefeed:mock_rangefeed: missing value for mandatory attribute 'interfaces' in '_gomock_source' rule
This is a very minor "bug". According to the documentation for
gomock
arguments,interfaces
is required ifsource
is unset, and ignored if it is. Despite being ignored, it's still a mandatory attribute whensource
is set. Removing it from here results in the following error.