You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cron/internal/controller/main.go:159:3: avoid direct access to proto field metadata.NumShard, use metadata.GetNumShard() instead (protogetter)
*metadata.NumShard = shardNum + 1
The provided fix (when I use the --fix flag) doesn't compile.
I have some code here which sets fields in a proto.
The linter flags this:
The provided fix (when I use the
--fix
flag) doesn't compile.Should the linter be flagging non-get operations?
The text was updated successfully, but these errors were encountered: