Skip to content

Commit

Permalink
Merge pull request #317 from mion00/patch-1
Browse files Browse the repository at this point in the history
Fix http_get method in get artifacts and job trace
  • Loading branch information
Gauvain Pocentek committed Sep 21, 2017
2 parents 05da7ba + bb5a1df commit d321847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/v4/objects.py
Expand Up @@ -689,7 +689,7 @@ def artifacts(self, streamed=False, action=None, chunk_size=1024,
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)

Expand All @@ -715,7 +715,7 @@ def trace(self, streamed=False, action=None, chunk_size=1024, **kwargs):
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)

Expand Down

0 comments on commit d321847

Please sign in to comment.