Skip to content

Commit

Permalink
pybind / cephfs: remove static typing in LibCephFS.chown
Browse files Browse the repository at this point in the history
The routine does type checking anyway, plus, to be uniform
with other APIs.

Fixes: http://tracker.ceph.com/issues/42923
Signed-off-by: Venky Shankar <vshankar@redhat.com>
  • Loading branch information
vshankar committed Nov 21, 2019
1 parent e4b3036 commit bbbfb44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/cephfs/cephfs.pyx
Expand Up @@ -865,7 +865,7 @@ cdef class LibCephFS(object):
if ret < 0:
raise make_ex(ret, "error in chmod {}".format(path.decode('utf-8')))

def chown(self, path, int uid, int gid):
def chown(self, path, uid, gid):
"""
Change directory ownership
:param path: the path of the directory to change.
Expand Down

0 comments on commit bbbfb44

Please sign in to comment.