Skip to content

Commit 15d9c42

Browse files
committed
make gen
1 parent 0599851 commit 15d9c42

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

cmd/protoc-gen-golang-jsonshim/test/jsonshim_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ import (
2020
"reflect"
2121
"testing"
2222

23-
"github.com/golang/protobuf/jsonpb" // nolint: depguard // We need the deprecated module since the jsonpb replacement is not backwards compatible.
24-
// nolint: staticcheck
25-
legacyproto "github.com/golang/protobuf/proto"
23+
"github.com/golang/protobuf/jsonpb" // nolint: depguard,staticcheck // We need the deprecated module since the jsonpb replacement is not backwards compatible.
24+
legacyproto "github.com/golang/protobuf/proto" // nolint:staticcheck // We need the deprecated module since the jsonpb replacement is not backwards compatible.
2625
"github.com/google/go-cmp/cmp"
2726
"google.golang.org/protobuf/testing/protocmp"
2827

docker/build-tools/prow-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ function log() {
9999
fi
100100
}
101101

102+
# shellcheck disable=SC2329
102103
function load_cf_secrets() {
103104
# Loads secrets from a cloudflare secret file into environment variables.
104105
# The secret file is expected to be a JSON file with the following structure:

perf/benchmark/security/generate_policies/generate_policies.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ import (
2626
"os"
2727
"strings"
2828

29-
"github.com/golang/protobuf/jsonpb" // nolint: depguard // We need the deprecated module since the jsonpb replacement is not backwards compatible.
30-
// nolint: staticcheck
31-
legacyproto "github.com/golang/protobuf/proto"
29+
"github.com/golang/protobuf/jsonpb" // nolint: depguard,staticcheck // We need the deprecated module since the jsonpb replacement is not backwards compatible.
30+
legacyproto "github.com/golang/protobuf/proto" // nolint:staticcheck // We need the deprecated module since the jsonpb replacement is not backwards compatible.
3231
"google.golang.org/protobuf/proto"
3332
"sigs.k8s.io/yaml"
3433

0 commit comments

Comments
 (0)