summaryrefslogtreecommitdiffstats
path: root/syslog-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-controller.lua')
-rw-r--r--syslog-controller.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/syslog-controller.lua b/syslog-controller.lua
index 8869fec..65034ca 100644
--- a/syslog-controller.lua
+++ b/syslog-controller.lua
@@ -6,7 +6,7 @@ end
function status(self)
- return self.model.getstatus()
+ return { status=self.model.getstatus() }
end
function config(self)
@@ -24,7 +24,7 @@ function config(self)
return { status = self.model.getstatus(), srvcmdresult=srvcmdresult, config= self.model.getconfig() }
end
-function expert(self)
- return {status="Work in progress!"}
-end
+expert = config
+
+superexpert = expert