]> 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>
Mon, 30 Jan 2023 23:41:57 +0000 (18:41 -0500)
commitf0a0ac08eda644ad38292dfd939969f89cbaa43f
tree04fc0f519c45d12b1586c70adf7980ba4278c460
parentb3e6e5910d783567efd3e1e72586d363ed9c3c9f
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