summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2017-12-16 06:07:28 +0100
committerMatija Čupić <matteeyah@gmail.com>2017-12-16 06:07:28 +0100
commitc98238f18ac8aa68c971f0742b881e24daf258aa (patch)
treea460b8e72b87cb327e38a1035821b72648cc7390
parent6c0fd3c22dc767d8d4d90fa0a008874098a6f22c (diff)
downloadgitlab-ce-c98238f18ac8aa68c971f0742b881e24daf258aa.tar.gz
Inluce projects namespace when checking billing
-rw-r--r--lib/google_api/cloud_platform/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/google_api/cloud_platform/client.rb b/lib/google_api/cloud_platform/client.rb
index c107d001bec..f05d001fd02 100644
--- a/lib/google_api/cloud_platform/client.rb
+++ b/lib/google_api/cloud_platform/client.rb
@@ -55,7 +55,7 @@ module GoogleApi
service = Google::Apis::CloudbillingV1::CloudbillingService.new
service.authorization = access_token
- service.get_project_billing_info(project_name)
+ service.get_project_billing_info("projects/#{project_name}")
end
def projects_zones_clusters_get(project_id, zone, cluster_id)