Skip to content

Commit d321847

Browse files
author
Gauvain Pocentek
authored
Merge pull request #317 from mion00/patch-1
Fix http_get method in get artifacts and job trace
2 parents 05da7ba + bb5a1df commit d321847

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/v4/objects.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def artifacts(self, streamed=False, action=None, chunk_size=1024,
689689
str: The artifacts if `streamed` is False, None otherwise.
690690
"""
691691
path = '%s/%s/artifacts' % (self.manager.path, self.get_id())
692-
result = self.manager.gitlab.get_http(path, streamed=streamed,
692+
result = self.manager.gitlab.http_get(path, streamed=streamed,
693693
**kwargs)
694694
return utils.response_content(result, streamed, action, chunk_size)
695695

@@ -715,7 +715,7 @@ def trace(self, streamed=False, action=None, chunk_size=1024, **kwargs):
715715
str: The trace
716716
"""
717717
path = '%s/%s/trace' % (self.manager.path, self.get_id())
718-
result = self.manager.gitlab.get_http(path, streamed=streamed,
718+
result = self.manager.gitlab.http_get(path, streamed=streamed,
719719
**kwargs)
720720
return utils.response_content(result, streamed, action, chunk_size)
721721

0 commit comments

Comments
 (0)