From 76efded07898baeb9d2773c4bb7cb6694f6c1adc Mon Sep 17 00:00:00 2001 From: Noah Dietz Date: Thu, 9 Mar 2023 14:11:50 -0800 Subject: [PATCH] fix: omit-snippets for bazel (#1254) --- README.md | 2 +- rules_go_gapic/go_gapic.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 044c864c9..653256bb2 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ following attributes: * Default is `False`. * Only effective when `rest` is included as a `transport` to be generated. - * `omit_snippets`: if `True`, code snippets will be generated to the `internal/generated/snippets` path. The default is `false`. + * `omit_snippets`: if `True`, code snippets will be generated to the `internal/generated/snippets` path. The default is `True`. Docker Wrapper -------------- diff --git a/rules_go_gapic/go_gapic.bzl b/rules_go_gapic/go_gapic.bzl index 4570f8457..371f66e24 100644 --- a/rules_go_gapic/go_gapic.bzl +++ b/rules_go_gapic/go_gapic.bzl @@ -94,7 +94,7 @@ def go_gapic_library( transport = "grpc", diregapic = False, rest_numeric_enums = False, - omit_snippets = False, + omit_snippets = True, **kwargs): file_args = {}