diff options
author | Carlo Mion <mion00@users.noreply.github.com> | 2017-09-20 10:51:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-20 10:51:20 +0200 |
commit | bb5a1df9a52c048bf2cb1ab54a4823a3bb57be9b (patch) | |
tree | 2e180128e3b0f1bc31df2042fdd5fe94c08cce03 /gitlab/v4/objects.py | |
parent | 05da7ba89a4bc41b079a13a2963ce55275350c41 (diff) | |
download | gitlab-bb5a1df9a52c048bf2cb1ab54a4823a3bb57be9b.tar.gz |
Fix http_get method in get artifacts and job trace
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r-- | gitlab/v4/objects.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 28d86f5..349fe16 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -689,7 +689,7 @@ class ProjectJob(RESTObject): str: The artifacts if `streamed` is False, None otherwise. """ path = '%s/%s/artifacts' % (self.manager.path, self.get_id()) - result = self.manager.gitlab.get_http(path, streamed=streamed, + result = self.manager.gitlab.http_get(path, streamed=streamed, **kwargs) return utils.response_content(result, streamed, action, chunk_size) @@ -715,7 +715,7 @@ class ProjectJob(RESTObject): str: The trace """ path = '%s/%s/trace' % (self.manager.path, self.get_id()) - result = self.manager.gitlab.get_http(path, streamed=streamed, + result = self.manager.gitlab.http_get(path, streamed=streamed, **kwargs) return utils.response_content(result, streamed, action, chunk_size) |