From f08e180ffaf0d0ac5a45593f32261b03fe6af488 Mon Sep 17 00:00:00 2001 From: Wayne Zhang Date: Tue, 21 Feb 2017 12:48:30 -0800 Subject: [PATCH] not to use api_key if service is not activated. --- WORKSPACE | 2 +- src/nginx/t/check_no_consumer.t | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index a2798b7f0..a313bd4be 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -26,7 +26,7 @@ # # A Bazel (http://bazel.io) workspace for the Google Cloud Endpoints runtime. -ISTIO_PROXY = "6e372fc510de08da504c2dd21060c09255c1aee7" +ISTIO_PROXY = "0804a07680b2bc6a6ab93ffccead554b9680b6b5" git_repository( name = "nginx", diff --git a/src/nginx/t/check_no_consumer.t b/src/nginx/t/check_no_consumer.t index c08f24f01..803e9f79b 100644 --- a/src/nginx/t/check_no_consumer.t +++ b/src/nginx/t/check_no_consumer.t @@ -131,7 +131,6 @@ my $expected_report_body = ServiceControl::gen_report_body({ 'serviceName' => 'endpoints-test.cloudendpointsapis.com', 'url' => '/shelves?key=this-is-an-api-key', 'location' => 'us-central1', - 'api_key' => 'this-is-an-api-key', 'api_method' => 'ListShelves', 'http_method' => 'GET', 'log_message' => 'Method: ListShelves',