Skip to content

Commit

Permalink
chore: fix service.yaml internal flag name (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
miraleung authored Mar 1, 2021
1 parent 51ed181 commit abff10b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules_java_gapic/java_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def java_gapic_library(
service_yaml_in_allowlist = True
break
if service_yaml_in_allowlist:
file_args_dict[service_yaml] = "gapic-service-config"
file_args_dict[service_yaml] = "api-service-config"
else:
fail("Service.yaml is no longer supported in the Java microgenerator")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class PluginArgumentParser {
// Synced to rules_java_gapic/java_gapic.bzl.
@VisibleForTesting static final String KEY_GRPC_SERVICE_CONFIG = "grpc-service-config";
@VisibleForTesting static final String KEY_GAPIC_CONFIG = "gapic-config";
@VisibleForTesting static final String KEY_SERVICE_YAML_CONFIG = "gapic-service-config";
@VisibleForTesting static final String KEY_SERVICE_YAML_CONFIG = "api-service-config";

private static final String JSON_FILE_ENDING = "grpc_service_config.json";
private static final String GAPIC_YAML_FILE_ENDING = "gapic.yaml";
Expand Down

0 comments on commit abff10b

Please sign in to comment.