summaryrefslogtreecommitdiff
path: root/PVE/API2/Network/SDN/Status.pm
diff options
context:
space:
mode:
authorThomas Lamprecht <t.lamprecht@proxmox.com>2019-09-03 08:25:00 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2019-09-03 08:25:00 +0200
commit7d35eaf55137f12c1ba1d4569d345ceac03c88dc (patch)
tree69d11e4b516c3c571258c9f0ab3965c3af206d61 /PVE/API2/Network/SDN/Status.pm
parentd0b4e1c2ca586a1a39406a6b9425f5854807e332 (diff)
trailing whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'PVE/API2/Network/SDN/Status.pm')
-rw-r--r--PVE/API2/Network/SDN/Status.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/PVE/API2/Network/SDN/Status.pm b/PVE/API2/Network/SDN/Status.pm
index 073b18a..7f23214 100644
--- a/PVE/API2/Network/SDN/Status.pm
+++ b/PVE/API2/Network/SDN/Status.pm
@@ -17,16 +17,16 @@ use PVE::Exception qw(raise_param_exc);
use base qw(PVE::RESTHandler);
__PACKAGE__->register_method ({
- subclass => "PVE::API2::Network::SDN::Content",
+ subclass => "PVE::API2::Network::SDN::Content",
path => '{sdn}/content',
});
__PACKAGE__->register_method ({
- name => 'index',
+ name => 'index',
path => '',
method => 'GET',
description => "Get status for all transportzones.",
- permissions => {
+ permissions => {
description => "Only list entries where you have 'SDN.Audit'",
user => 'all',
},
@@ -75,10 +75,10 @@ __PACKAGE__->register_method ({
__PACKAGE__->register_method ({
name => 'diridx',
- path => '{sdn}',
+ path => '{sdn}',
method => 'GET',
description => "",
-# permissions => {
+# permissions => {
# check => ['perm', '/sdn/{sdn}', ['SDN.Audit'], any => 1],
# },
parameters => {
@@ -103,7 +103,7 @@ __PACKAGE__->register_method ({
my $res = [
{ subdir => 'content' },
];
-
+
return $res;
}});