Skip to content

Commit a6fa6f8

Browse files
committed
fix(groups): making list_ldap_group_links use fstrings
1 parent 57d4ab1 commit a6fa6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def list_ldap_group_links(self, **kwargs):
206206
GitlabAuthenticationError: If authentication is not correct
207207
GitlabGetError: If the server cannot perform the request
208208
"""
209-
path = "/groups/%s/ldap_group_links" % self.get_id()
209+
path = f"/groups/{self.encoded_id}/ldap_group_links"
210210
return self.manager.gitlab.http_get(path, **kwargs)
211211

212212
@cli.register_custom_action("Group")

0 commit comments

Comments
 (0)