]> 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)
committerAdam King <adking@redhat.com>
Tue, 18 Oct 2022 15:49:24 +0000 (11:49 -0400)
commit13487122f427ceeb123647a3c8b9c85066a9f52a
tree92e828f33353fe789f1f1fe49ced3337bc85c0f4
parent427032a398059206422573d7d3da9ba79e75539e
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>
(cherry picked from commit 439d502cd260eee25052f8b6caa911462548dcc7)
src/pybind/mgr/nfs/module.py