diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-22 15:14:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 15:14:38 +0100 |
commit | 901066acd113ee3bea709cc558d86c4c438e2f67 (patch) | |
tree | 018a8f7918b50e9d1bc58f7ce9a981f628c3d295 /pkg/k8s.io | |
parent | fc963159b8078c7e3ca6571174fb3a82d1023b43 (diff) | |
parent | 06dd9136a253521cb74497a59f2e6894806a5b6d (diff) | |
download | podman-901066acd113ee3bea709cc558d86c4c438e2f67.tar.gz podman-901066acd113ee3bea709cc558d86c4c438e2f67.tar.bz2 podman-901066acd113ee3bea709cc558d86c4c438e2f67.zip |
Merge pull request #13580 from vrothberg/enable-linters
enable linters
Diffstat (limited to 'pkg/k8s.io')
-rw-r--r-- | pkg/k8s.io/apimachinery/pkg/api/resource/quantity.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/k8s.io/apimachinery/pkg/api/resource/quantity.go b/pkg/k8s.io/apimachinery/pkg/api/resource/quantity.go index fccddc3e0..352cc028f 100644 --- a/pkg/k8s.io/apimachinery/pkg/api/resource/quantity.go +++ b/pkg/k8s.io/apimachinery/pkg/api/resource/quantity.go @@ -579,9 +579,9 @@ func (q Quantity) MarshalJSON() ([]byte, error) { // if CanonicalizeBytes needed more space than our slice provided, we may need to allocate again so use // append result = result[:1] - result = append(result, number...) - result = append(result, suffix...) - result = append(result, '"') + result = append(result, number...) // nolint: makezero + result = append(result, suffix...) // nolint: makezero + result = append(result, '"') // nolint: makezero return result, nil } |