Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2017-12-16 08:07:28 +0300
committerMatija Čupić <matteeyah@gmail.com>2017-12-16 08:07:28 +0300
commitc98238f18ac8aa68c971f0742b881e24daf258aa (patch)
treea460b8e72b87cb327e38a1035821b72648cc7390 /lib/google_api
parent6c0fd3c22dc767d8d4d90fa0a008874098a6f22c (diff)
Inluce projects namespace when checking billing
Diffstat (limited to 'lib/google_api')
-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)