]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: reformat long function calls to one line per arg
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 2 Sep 2022 15:33:43 +0000 (11:33 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 5 Oct 2022 14:25:06 +0000 (10:25 -0400)
commit439d502cd260eee25052f8b6caa911462548dcc7
tree3b81715ef3a43716984c7d32c534d2cef05e5d77
parent5cdb1dd961800a2a40b81549c70ab31779dd05a8
mgr/nfs: reformat long function calls to one line per arg

Using a hand rolled version of the long function call style similar to
that produced by the "Black" tool, put every argument to the
create_export function on a line of its own. This makes the code easier
to read and, importantly for an upcoming change, easier to add new
arguments.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/nfs/module.py