diff options
Diffstat (limited to 'gitlab/v4/objects/clusters.py')
-rw-r--r-- | gitlab/v4/objects/clusters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/clusters.py b/gitlab/v4/objects/clusters.py index 10ff202..3dcf653 100644 --- a/gitlab/v4/objects/clusters.py +++ b/gitlab/v4/objects/clusters.py @@ -50,7 +50,7 @@ class GroupClusterManager(CRUDMixin, RESTManager): RESTObject: A new instance of the manage object class build with the data sent by the server """ - path = "%s/user" % (self.path) + path = f"{self.path}/user" return CreateMixin.create(self, data, path=path, **kwargs) @@ -94,5 +94,5 @@ class ProjectClusterManager(CRUDMixin, RESTManager): RESTObject: A new instance of the manage object class build with the data sent by the server """ - path = "%s/user" % (self.path) + path = f"{self.path}/user" return CreateMixin.create(self, data, path=path, **kwargs) |