mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-26 04:20:33 +00:00
cmd/vet/jsontags: fix a typo in an error message
Updates #17945 Change-Id: I8987271420feb190f5e4d85caff305c8d4e84aae Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
@@ -80,9 +80,9 @@ const (
|
||||
func (k ReportKind) message() string {
|
||||
switch k {
|
||||
case OmitEmptyUnsupportedInV1:
|
||||
return "uses `omitempty` on an unspported type in json/v1; should probably use `omitzero` instead"
|
||||
return "uses `omitempty` on an unsupported type in json/v1; should probably use `omitzero` instead"
|
||||
case OmitEmptyUnsupportedInV2:
|
||||
return "uses `omitempty` on an unspported type in json/v2; should probably use `omitzero` instead"
|
||||
return "uses `omitempty` on an unsupported type in json/v2; should probably use `omitzero` instead"
|
||||
case OmitEmptyShouldBeOmitZero:
|
||||
return "should use `omitzero` instead of `omitempty`"
|
||||
case OmitEmptyShouldBeOmitZeroButHasIsZero:
|
||||
|
||||
Reference in New Issue
Block a user