Skip to content

Commit 4946d58

Browse files
authored
Fix typo in argument passing for patch in dynamic client. (#176)
1 parent b315f14 commit 4946d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openshift/dynamic/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ def patch(self, resource, body=None, name=None, namespace=None, **kwargs):
190190
namespace = self.ensure_namespace(resource, namespace, body)
191191

192192
content_type = kwargs.pop('content_type', 'application/strategic-merge-patch+json')
193-
path = resource.path(name=name, namespace=namespace, **kwargs)
193+
path = resource.path(name=name, namespace=namespace)
194194

195-
return self.request('patch', path, body=body, content_type=content_type)
195+
return self.request('patch', path, body=body, content_type=content_type, **kwargs)
196196

197197

198198
def request(self, method, path, body=None, **params):

0 commit comments

Comments
 (0)