aboutsummaryrefslogtreecommitdiff
path: root/pkg/k8s.io/api/core
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/k8s.io/api/core')
-rw-r--r--pkg/k8s.io/api/core/v1/resource.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/k8s.io/api/core/v1/resource.go b/pkg/k8s.io/api/core/v1/resource.go
index 9270054b3..2fbb663c7 100644
--- a/pkg/k8s.io/api/core/v1/resource.go
+++ b/pkg/k8s.io/api/core/v1/resource.go
@@ -26,7 +26,7 @@ func (rn ResourceName) String() string {
}
// Cpu returns the Cpu limit if specified.
-// nolint:golint,stylecheck
+//nolint:revive,stylecheck
func (rl *ResourceList) Cpu() *resource.Quantity {
return rl.Name(ResourceCPU, resource.DecimalSI)
}