summaryrefslogtreecommitdiffhomepage
path: root/nogo.yaml
diff options
context:
space:
mode:
authorMatt LaPlante <mattl@google.com>2021-02-10 11:34:02 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-10 11:36:15 -0800
commit458bf12c1360570fc4cf0fd206768393c3d976f5 (patch)
treea2aee91ea5c619127044e0857222ea8ffc937463 /nogo.yaml
parent1ac58cc23e7c069ff59ddea333a89c5c5972a555 (diff)
Internal change.
PiperOrigin-RevId: 356784956
Diffstat (limited to 'nogo.yaml')
-rw-r--r--nogo.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/nogo.yaml b/nogo.yaml
index e43148a6d..4c4cdb8c1 100644
--- a/nogo.yaml
+++ b/nogo.yaml
@@ -46,6 +46,8 @@ global:
- "(field|method|struct|type) .* should be .*"
# Generated proto code sometimes duplicates imports with aliases.
- "duplicate import"
+ # TODO(b/179817829): Upgrade to flock to v0.8.0.
+ - "flock.NewFlock is deprecated: Use New instead"
internal:
suppress:
# We use ALL_CAPS for system definitions,
@@ -55,6 +57,8 @@ global:
# Same story for underscores.
- "should not use ALL_CAPS in Go names"
- "should not use underscores in Go names"
+ # TODO(b/179817829): Upgrade to flock to v0.8.0.
+ - "flock.NewFlock is deprecated: Use New instead"
exclude:
# Generated: exempt all.
- pkg/shim/runtimeoptions/runtimeoptions_cri.go